Class: MetaWhere::Not

Inherits:
Object
  • Object
show all
Includes:
ConditionOperators
Defined in:
lib/meta_where/not.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from ConditionOperators

#&, #-, #-@, #|

Constructor Details

#initialize(expr) ⇒ Not

Returns a new instance of Not.



9
10
11
# File 'lib/meta_where/not.rb', line 9

def initialize(expr)
  @expr = expr
end

Instance Attribute Details

#exprObject (readonly)

Returns the value of attribute expr.



7
8
9
# File 'lib/meta_where/not.rb', line 7

def expr
  @expr
end