Class: Arrow::Slicer::LessCondition
- Defined in:
- lib/arrow/slicer.rb
Instance Method Summary collapse
- #!@ ⇒ Object
- #evaluate ⇒ Object
-
#initialize(column, value) ⇒ LessCondition
constructor
A new instance of LessCondition.
Methods inherited from Condition
Constructor Details
#initialize(column, value) ⇒ LessCondition
Returns a new instance of LessCondition.
255 256 257 258 |
# File 'lib/arrow/slicer.rb', line 255 def initialize(column, value) @column = column @value = value end |
Instance Method Details
#!@ ⇒ Object
260 261 262 |
# File 'lib/arrow/slicer.rb', line 260 def !@ GreaterEqualCondition.new(@column, @value) end |
#evaluate ⇒ Object
264 265 266 |
# File 'lib/arrow/slicer.rb', line 264 def evaluate Function.find("less").execute([@column.data, @value]).value end |