Class: Arrow::Slicer::GreaterEqualCondition

Inherits:
Condition
  • Object
show all
Defined in:
lib/arrow/slicer.rb

Instance Method Summary collapse

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

#evaluateObject



309
310
311
# File 'lib/arrow/slicer.rb', line 309

def evaluate
  Function.find("greater_equal").execute([@column.data, @value]).value
end