Module: Ambition::Enumerable

Includes:
Enumerable
Included in:
Ambition
Defined in:
lib/ambition/lib/ambition/enumerable.rb

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



5
6
7
# File 'lib/ambition/lib/ambition/enumerable.rb', line 5

def each(&block)
  find(:all, query_context.to_hash).each(&block)
end