Class: Configure::Injector::Arguments

Inherits:
Object
  • Object
show all
Defined in:
lib/configure/injector.rb

Overview

Injector for the arguments in a nested configuration.

Instance Method Summary collapse

Constructor Details

#initialize(schema, configuration, arguments) ⇒ Arguments

Returns a new instance of Arguments.



50
51
52
# File 'lib/configure/injector.rb', line 50

def initialize(schema, configuration, arguments)
  @schema, @configuration, @arguments = schema, configuration, arguments.dup
end

Instance Method Details

#putObject



54
55
56
57
58
# File 'lib/configure/injector.rb', line 54

def put
  put_to_specified_keys
  put_to_argument_key
  check_values!
end