Class: Simplabs::Excellent::Parsing::UntilContext
- Inherits:
-
SexpContext
- Object
- SexpContext
- Simplabs::Excellent::Parsing::UntilContext
- Defined in:
- lib/simplabs/excellent/parsing/until_context.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from SexpContext
Instance Method Summary collapse
-
#initialize(exp, parent) ⇒ UntilContext
constructor
A new instance of UntilContext.
- #tests_assignment? ⇒ Boolean
Methods inherited from SexpContext
Constructor Details
#initialize(exp, parent) ⇒ UntilContext
Returns a new instance of UntilContext.
9 10 11 12 |
# File 'lib/simplabs/excellent/parsing/until_context.rb', line 9 def initialize(exp, parent) super @contains_assignment = has_assignment? end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Simplabs::Excellent::Parsing::SexpContext
Instance Method Details
#tests_assignment? ⇒ Boolean
14 15 16 |
# File 'lib/simplabs/excellent/parsing/until_context.rb', line 14 def tests_assignment? @contains_assignment end |