Class: Arrow::Slicer::GreaterEqualCondition
- Defined in:
- lib/arrow/slicer.rb
Instance Method Summary collapse
- #!@ ⇒ Object
- #evaluate ⇒ Object
-
#initialize(column, value) ⇒ GreaterEqualCondition
constructor
A new instance of GreaterEqualCondition.
Methods inherited from Condition
Constructor Details
#initialize(column, value) ⇒ GreaterEqualCondition
Returns a new instance of GreaterEqualCondition.
300 301 302 303 |
# File 'lib/arrow/slicer.rb', line 300 def initialize(column, value) @column = column @value = value end |
Instance Method Details
#!@ ⇒ Object
305 306 307 |
# File 'lib/arrow/slicer.rb', line 305 def !@ LessCondition.new(@column, @value) end |
#evaluate ⇒ Object
309 310 311 |
# File 'lib/arrow/slicer.rb', line 309 def evaluate Function.find("greater_equal").execute([@column.data, @value]).value end |