Class: Arrow::Slicer::NotColumnCondition
- Defined in:
- lib/arrow/slicer.rb
Instance Method Summary collapse
- #!@ ⇒ Object
- #evaluate ⇒ Object
-
#initialize(column) ⇒ NotColumnCondition
constructor
A new instance of NotColumnCondition.
Methods inherited from Condition
Constructor Details
#initialize(column) ⇒ NotColumnCondition
Returns a new instance of NotColumnCondition.
202 203 204 |
# File 'lib/arrow/slicer.rb', line 202 def initialize(column) @column = column end |
Instance Method Details
#!@ ⇒ Object
211 212 213 |
# File 'lib/arrow/slicer.rb', line 211 def !@ ColumnCondition.new(@column) end |
#evaluate ⇒ Object
206 207 208 209 |
# File 'lib/arrow/slicer.rb', line 206 def evaluate data = Helper.ensure_boolean(@column) Function.find("invert").execute([data]).value end |