Class: ShuntingYard::Function

Inherits:
Struct
  • Object
show all
Defined in:
lib/shunting_yard/structs.rb

Instance Attribute Summary collapse

Instance Attribute Details

#evaluatorObject

Returns the value of attribute evaluator

Returns:

  • (Object)

    the current value of evaluator



6
7
8
# File 'lib/shunting_yard/structs.rb', line 6

def evaluator
  @evaluator
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'lib/shunting_yard/structs.rb', line 6

def value
  @value
end