Module: Mongo::Model::ClassMethods
- Defined in:
- lib/mongo/model/model.rb
Instance Method Summary collapse
Instance Method Details
#embedded(*list) ⇒ Object
69 70 71 72 |
# File 'lib/mongo/model/model.rb', line 69 def *list list.collect!{|n| :"@#{n}"} if list.empty? then else .push(*list) end end |