Class: MetaWhere::Not
- Inherits:
-
Object
- Object
- MetaWhere::Not
- Includes:
- ConditionOperators
- Defined in:
- lib/meta_where/not.rb
Instance Attribute Summary collapse
-
#expr ⇒ Object
readonly
Returns the value of attribute expr.
Instance Method Summary collapse
-
#initialize(expr) ⇒ Not
constructor
A new instance of Not.
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
#expr ⇒ Object (readonly)
Returns the value of attribute expr.
7 8 9 |
# File 'lib/meta_where/not.rb', line 7 def expr @expr end |