Class: Simplabs::Excellent::Parsing::GvarContext
- Inherits:
-
SexpContext
- Object
- SexpContext
- Simplabs::Excellent::Parsing::GvarContext
- Defined in:
- lib/simplabs/excellent/parsing/gvar_context.rb
Overview
:nodoc:
Instance Attribute Summary
Attributes inherited from SexpContext
Instance Method Summary collapse
-
#initialize(exp, parent) ⇒ GvarContext
constructor
A new instance of GvarContext.
Methods inherited from SexpContext
Constructor Details
#initialize(exp, parent) ⇒ GvarContext
Returns a new instance of GvarContext.
9 10 11 12 13 |
# File 'lib/simplabs/excellent/parsing/gvar_context.rb', line 9 def initialize(exp, parent) super @name = exp[1].to_s.sub(/^\$/, '') @full_name = @name end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Simplabs::Excellent::Parsing::SexpContext