Class: ActiveHash::Relation::WhereChain
- Inherits:
-
Object
- Object
- ActiveHash::Relation::WhereChain
- Defined in:
- lib/active_hash/relation.rb
Instance Attribute Summary collapse
-
#relation ⇒ Object
readonly
Returns the value of attribute relation.
Instance Method Summary collapse
-
#initialize(relation) ⇒ WhereChain
constructor
A new instance of WhereChain.
- #not(conditions_hash) ⇒ Object
Constructor Details
#initialize(relation) ⇒ WhereChain
Returns a new instance of WhereChain.
32 33 34 |
# File 'lib/active_hash/relation.rb', line 32 def initialize(relation) @relation = relation end |
Instance Attribute Details
#relation ⇒ Object (readonly)
Returns the value of attribute relation.
30 31 32 |
# File 'lib/active_hash/relation.rb', line 30 def relation @relation end |