Class: Uses::Initializer::ProcBased

Inherits:
BaseInitializer show all
Defined in:
lib/uses/initializer/proc_based.rb

Instance Method Summary collapse

Methods inherited from BaseInitializer

#call, #initialize

Constructor Details

This class inherits a constructor from Uses::Initializer::BaseInitializer

Instance Method Details

#create_proc(uses_method_args) ⇒ Object



4
5
6
# File 'lib/uses/initializer/proc_based.rb', line 4

def create_proc(uses_method_args)
  uses_method_args.initializer_strategy
end