Class: Crokus::Else
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body = []) ⇒ Else
constructor
A new instance of Else.
Methods inherited from Ast
Constructor Details
#initialize(body = []) ⇒ Else
Returns a new instance of Else.
293 294 295 |
# File 'lib/crokus/ast.rb', line 293 def initialize body=[] @body=body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
292 293 294 |
# File 'lib/crokus/ast.rb', line 292 def body @body end |