Class: Taoism::Nodes::If

Inherits:
Struct
  • Object
show all
Defined in:
lib/taoism/nodes.rb

Overview

── Control Flow ──

Instance Attribute Summary collapse

Instance Attribute Details

#condObject

Returns the value of attribute cond

Returns:

  • (Object)

    the current value of cond



48
49
50
# File 'lib/taoism/nodes.rb', line 48

def cond
  @cond
end

#else_bodyObject

Returns the value of attribute else_body

Returns:

  • (Object)

    the current value of else_body



48
49
50
# File 'lib/taoism/nodes.rb', line 48

def else_body
  @else_body
end

#endObject

Returns the value of attribute end

Returns:

  • (Object)

    the current value of end



48
49
50
# File 'lib/taoism/nodes.rb', line 48

def end
  @end
end

#startObject

Returns the value of attribute start

Returns:

  • (Object)

    the current value of start



48
49
50
# File 'lib/taoism/nodes.rb', line 48

def start
  @start
end

#then_bodyObject

Returns the value of attribute then_body

Returns:

  • (Object)

    the current value of then_body



48
49
50
# File 'lib/taoism/nodes.rb', line 48

def then_body
  @then_body
end