class Elastictastic::Dirty::NestedCollectionProxy
Public Class Methods
new(owner, embed_name, collection = [])
click to toggle source
Calls superclass method
# File lib/elastictastic/dirty.rb, line 120 def initialize(owner, embed_name, collection = []) @owner, @embed_name = owner, embed_name super(collection) end
Public Instance Methods
clone()
click to toggle source
# File lib/elastictastic/dirty.rb, line 140 def clone NestedCollectionProxy.new(@owner, @embed_name, map { |el| el.clone }) end