Class: Kumi::Core::RubyParser::NestedInput
- Inherits:
-
Object
- Object
- Kumi::Core::RubyParser::NestedInput
- Defined in:
- lib/kumi/core/ruby_parser/nested_input.rb
Overview
Simple context struct for nested input collection
Instance Attribute Summary collapse
-
#current_location ⇒ Object
readonly
Returns the value of attribute current_location.
-
#inputs ⇒ Object
readonly
Returns the value of attribute inputs.
Instance Method Summary collapse
-
#initialize(inputs_array, location) ⇒ NestedInput
constructor
A new instance of NestedInput.
Constructor Details
#initialize(inputs_array, location) ⇒ NestedInput
Returns a new instance of NestedInput.
10 11 12 13 |
# File 'lib/kumi/core/ruby_parser/nested_input.rb', line 10 def initialize(inputs_array, location) @inputs = inputs_array @current_location = location end |
Instance Attribute Details
#current_location ⇒ Object (readonly)
Returns the value of attribute current_location.
8 9 10 |
# File 'lib/kumi/core/ruby_parser/nested_input.rb', line 8 def current_location @current_location end |
#inputs ⇒ Object (readonly)
Returns the value of attribute inputs.
8 9 10 |
# File 'lib/kumi/core/ruby_parser/nested_input.rb', line 8 def inputs @inputs end |