Class: Arrow::Slicer::LessEqualCondition
- Defined in:
- lib/arrow/slicer.rb
Instance Method Summary collapse
- #!@ ⇒ Object
- #evaluate ⇒ Object
-
#initialize(column, value) ⇒ LessEqualCondition
constructor
A new instance of LessEqualCondition.
Methods inherited from Condition
Constructor Details
#initialize(column, value) ⇒ LessEqualCondition
Returns a new instance of LessEqualCondition.
270 271 272 273 |
# File 'lib/arrow/slicer.rb', line 270 def initialize(column, value) @column = column @value = value end |
Instance Method Details
#!@ ⇒ Object
275 276 277 |
# File 'lib/arrow/slicer.rb', line 275 def !@ GreaterCondition.new(@column, @value) end |
#evaluate ⇒ Object
279 280 281 |
# File 'lib/arrow/slicer.rb', line 279 def evaluate Function.find("less_equal").execute([@column.data, @value]).value end |