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.



293
294
295
# File 'lib/crokus/ast.rb', line 293

def initialize body=[]
  @body=body
end

Instance Attribute Details

#bodyObject

Returns the value of attribute body.



292
293
294
# File 'lib/crokus/ast.rb', line 292

def body
  @body
end