Method: Ambition::WhereProcessor#initialize
- Defined in:
- lib/ambition/lib/ambition/where.rb
#initialize(owner, block) ⇒ WhereProcessor
Returns a new instance of WhereProcessor.
21 22 23 24 25 26 27 28 29 |
# File 'lib/ambition/lib/ambition/where.rb', line 21 def initialize(owner, block) super() @receiver = nil @owner = owner @table_name = owner.table_name @block = block @key = :conditions @includes = [] end |