Class: Schemurai::VM::ConditionalRules

Inherits:
Data
  • Object
show all
Defined in:
lib/schemurai/vm/compiler.rb

Instance Attribute Summary collapse

Instance Attribute Details

#condition ⇒ Object (readonly)

Returns the value of attribute condition

Returns:

  • (Object) —

    the current value of condition



104
105
106
# File 'lib/schemurai/vm/compiler.rb', line 104

def condition
  @condition
end

#else_branch ⇒ Object (readonly)

Returns the value of attribute else_branch

Returns:

  • (Object) —

    the current value of else_branch



104
105
106
# File 'lib/schemurai/vm/compiler.rb', line 104

def else_branch
  @else_branch
end

#then_branch ⇒ Object (readonly)

Returns the value of attribute then_branch

Returns:

  • (Object) —

    the current value of then_branch



104
105
106
# File 'lib/schemurai/vm/compiler.rb', line 104

def then_branch
  @then_branch
end