Class: Vertigo::Return
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#expr ⇒ Object
Returns the value of attribute expr.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(expr = nil) ⇒ Return
constructor
A new instance of Return.
Methods inherited from AstNode
Constructor Details
#initialize(expr = nil) ⇒ Return
Returns a new instance of Return.
302 303 304 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 302 def initialize expr=nil @expr=expr end |
Instance Attribute Details
#expr ⇒ Object
Returns the value of attribute expr.
301 302 303 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 301 def expr @expr end |