module Mongoo::Embedded::CoreMixin::InstanceMethods
Public Instance Methods
embedded_array_proxy(attrib, klass)
click to toggle source
# File lib/mongoo/embedded/core_mixin.rb, line 14 def embedded_array_proxy(attrib, klass) Mongoo::Embedded::ArrayProxy.new(self, attrib, klass) end
embedded_doc(attrib, klass)
click to toggle source
# File lib/mongoo/embedded/core_mixin.rb, line 18 def embedded_doc(attrib, klass) klass.new(self, attrib) end
embedded_hash_proxy(attrib, klass)
click to toggle source
# File lib/mongoo/embedded/core_mixin.rb, line 10 def embedded_hash_proxy(attrib, klass) Mongoo::Embedded::HashProxy.new(self, attrib, klass) end