Class: Hecks::Bluebook::Expression::Evaluator::Operator

Inherits:
Struct
  • Object
show all
Defined in:
lib/hecks/bluebook/expression/evaluator.rb

Instance Attribute Summary collapse

Instance Attribute Details

#compares_equalObject

Returns the value of attribute compares_equal

Returns:

  • (Object)

    the current value of compares_equal



8
9
10
# File 'lib/hecks/bluebook/expression/evaluator.rb', line 8

def compares_equal
  @compares_equal
end

#compares_less_thanObject

Returns the value of attribute compares_less_than

Returns:

  • (Object)

    the current value of compares_less_than



8
9
10
# File 'lib/hecks/bluebook/expression/evaluator.rb', line 8

def compares_less_than
  @compares_less_than
end

#negatedObject

Returns the value of attribute negated

Returns:

  • (Object)

    the current value of negated



8
9
10
# File 'lib/hecks/bluebook/expression/evaluator.rb', line 8

def negated
  @negated
end

#symbolObject

Returns the value of attribute symbol

Returns:

  • (Object)

    the current value of symbol



8
9
10
# File 'lib/hecks/bluebook/expression/evaluator.rb', line 8

def symbol
  @symbol
end