diff --git a/lib/use_case/base.rb b/lib/use_case/base.rb index 1ffea6c2..ae254975 100644 --- a/lib/use_case/base.rb +++ b/lib/use_case/base.rb @@ -8,12 +8,8 @@ module UseCase class Base extend Dry::Initializer - def self.call(...) - new(...).call - end + def self.call(...) = new(...).call - def call - raise NotImplementedError - end + def call = raise NotImplementedError end end