Class: RubyRTL::Else

Inherits:
Statement show all
Defined in:
lib/ruby_rtl/ast.rb

Instance Attribute Summary collapse

Attributes inherited from Ast

#comments

Instance Method Summary collapse

Methods inherited from Ast

#accept

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

#bodyObject

Returns the value of attribute body.



129
130
131
# File 'lib/ruby_rtl/ast.rb', line 129

def body
  @body
end