Class: Vertigo::Else
- Defined in:
- lib/vertigo/ast.rb,
lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Attributes inherited from AstNode
Instance Method Summary collapse
- #<<(e) ⇒ Object
-
#initialize(body = nil) ⇒ Else
constructor
A new instance of Else.
Methods inherited from AstNode
Constructor Details
#initialize(body = nil) ⇒ Else
Returns a new instance of Else.
246 247 248 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 246 def initialize body=nil @body=body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
245 246 247 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 245 def body @body end |