Class: Configure::Injector::Arguments
- Inherits:
-
Object
- Object
- Configure::Injector::Arguments
- Defined in:
- lib/configure/injector.rb
Overview
Injector for the arguments in a nested configuration.
Instance Method Summary collapse
-
#initialize(schema, configuration, arguments) ⇒ Arguments
constructor
A new instance of Arguments.
- #put ⇒ Object
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
#put ⇒ Object
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 |