Class: Array

Inherits:
Object show all
Defined in:
lib/mongo_doc/ext/array.rb

Instance Method Summary collapse

Instance Method Details

#to_bson(*args) ⇒ Object



2
3
4
# File 'lib/mongo_doc/ext/array.rb', line 2

def to_bson(*args)
  map {|item| item.to_bson(args)}
end