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.
221 222 223 224 |
# File 'lib/arrow/slicer.rb', line 221 def initialize(column, value) @column = column @value = value end |
Instance Method Details
#!@ ⇒ Object
226 227 228 |
# File 'lib/arrow/slicer.rb', line 226 def !@ GreaterEqualCondition.new(@column, @value) end |
#evaluate ⇒ Object
230 231 232 |
# File 'lib/arrow/slicer.rb', line 230 def evaluate Function.find("less").execute([@column.data, @value]).value end |