Class: Chicago::Database::NotFilter Private

Inherits:
Filter
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/chicago/database/filter.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary

Attributes inherited from Filter

#column, #value

Instance Method Summary collapse

Methods inherited from Filter

#filter_dataset, from_hash

Constructor Details

#initialize(filter) ⇒ NotFilter

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of NotFilter.



59
60
61
# File 'lib/chicago/database/filter.rb', line 59

def initialize(filter)
  @filter = filter
end

Instance Method Details

#to_sequelObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



63
64
65
# File 'lib/chicago/database/filter.rb', line 63

def to_sequel
  ~ @filter.to_sequel
end