retrospring/lib/use_case/base.rb
Georg Gadinger 6e54b4daba remove requires for types
autoloaded by zeitwerk
2022-12-29 20:57:28 +01:00

13 lines
206 B
Ruby

# frozen_string_literal: true
require "dry-initializer"
module UseCase
class Base
extend Dry::Initializer
def self.call(...) = new(...).call
def call = raise NotImplementedError
end
end