Class: Kumi::Core::RubyParser::InputProxy
- Inherits:
-
Object
- Object
- Kumi::Core::RubyParser::InputProxy
- Includes:
- Syntax
- Defined in:
- lib/kumi/core/ruby_parser/input_proxy.rb
Overview
Proxy object for input field references (input.field_name)
Instance Method Summary collapse
-
#initialize(context) ⇒ InputProxy
constructor
A new instance of InputProxy.
Constructor Details
#initialize(context) ⇒ InputProxy
Returns a new instance of InputProxy.
10 11 12 |
# File 'lib/kumi/core/ruby_parser/input_proxy.rb', line 10 def initialize(context) @context = context end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method_name, *_args) ⇒ Object (private)
16 17 18 19 |
# File 'lib/kumi/core/ruby_parser/input_proxy.rb', line 16 def method_missing(method_name, *_args) # Create InputFieldProxy that can handle further field access InputFieldProxy.new(method_name, @context) end |