Module: Uses::Initializer

Defined in:
lib/uses/initializer.rb,
lib/uses/initializer/base_initializer.rb

Defined Under Namespace

Classes: BaseInitializer, FromInitializers, NewNoArgs, ProcBased, UnknownInitializerStrategy

Class Method Summary collapse

Class Method Details

.from_args(uses_method_args) ⇒ Object



8
9
10
# File 'lib/uses/initializer.rb', line 8

def self.from_args(uses_method_args)
  strategy_klass(uses_method_args).new(uses_method_args)
end