Class: RubyRTL::Else
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(body = nil) ⇒ Else
constructor
A new instance of Else.
Methods inherited from Ast
Constructor Details
#initialize(body = nil) ⇒ Else
Returns a new instance of Else.
130 131 132 |
# File 'lib/ruby_rtl/ast.rb', line 130 def initialize body=nil @body=body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
129 130 131 |
# File 'lib/ruby_rtl/ast.rb', line 129 def body @body end |