Method: Mongoo::AttributeProxy#initialize
- Defined in:
- lib/mongoo/attribute_proxy.rb
#initialize(curr_hash, path, doc) ⇒ AttributeProxy
Returns a new instance of AttributeProxy.
4 5 6 7 8 |
# File 'lib/mongoo/attribute_proxy.rb', line 4 def initialize(curr_hash, path, doc) @curr_hash = curr_hash @path = path @doc = doc end |