Class: Condition

Inherits:
Struct
  • Object
show all
Defined in:
lib/dake/parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#condObject

Returns the value of attribute cond

Returns:

  • (Object)

    the current value of cond



217
218
219
# File 'lib/dake/parser.rb', line 217

def cond
  @cond
end

#else_bodyObject

Returns the value of attribute else_body

Returns:

  • (Object)

    the current value of else_body



217
218
219
# File 'lib/dake/parser.rb', line 217

def else_body
  @else_body
end

#if_bodyObject

Returns the value of attribute if_body

Returns:

  • (Object)

    the current value of if_body



217
218
219
# File 'lib/dake/parser.rb', line 217

def if_body
  @if_body
end

#notObject

Returns the value of attribute not

Returns:

  • (Object)

    the current value of not



217
218
219
# File 'lib/dake/parser.rb', line 217

def not
  @not
end