Class: TypedRb::AstParser::AssignationWrapper
- Defined in:
- lib/typed/runtime/ast_parser.rb
Instance Method Summary collapse
- #children ⇒ Object
-
#initialize(assignation, children) ⇒ AssignationWrapper
constructor
A new instance of AssignationWrapper.
- #method_missing(m, *args, &block) ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(assignation, children) ⇒ AssignationWrapper
Returns a new instance of AssignationWrapper.
15 16 17 18 |
# File 'lib/typed/runtime/ast_parser.rb', line 15 def initialize(assignation, children) @assignation = assignation @children = children end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
25 26 27 |
# File 'lib/typed/runtime/ast_parser.rb', line 25 def method_missing(m, *args, &block) @assignation.send(m, *args) end |