Class: Crokus::Else

Inherits:
CtrlStmt show all
Defined in:
lib/crokus/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Ast

#accept, #str

Constructor Details

#initialize(body = []) ⇒ Else

Returns a new instance of Else.



297
298
299
# File 'lib/crokus/ast.rb', line 297

def initialize body=[]
  @body=body
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



296
297
298
# File 'lib/crokus/ast.rb', line 296

def body
  @body
end