Class: ROM::Mongo::Adapter::Dataset

Inherits:
Object
  • Object
show all
Defined in:
lib/rom/mongo/adapter.rb

Instance Method Summary collapse

Instance Method Details

#each(&block) ⇒ Object



13
14
15
# File 'lib/rom/mongo/adapter.rb', line 13

def each(&block)
  collection.find.each(&block)
end