Class: Crokus::Return
Instance Attribute Summary collapse
-
#expr ⇒ Object
Returns the value of attribute expr.
Instance Method Summary collapse
-
#initialize(e) ⇒ Return
constructor
A new instance of Return.
Methods inherited from Ast
Constructor Details
#initialize(e) ⇒ Return
Returns a new instance of Return.
316 317 318 |
# File 'lib/crokus/ast.rb', line 316 def initialize e @expr=e end |
Instance Attribute Details
#expr ⇒ Object
Returns the value of attribute expr.
315 316 317 |
# File 'lib/crokus/ast.rb', line 315 def expr @expr end |