lib/virtus/attribute_set.rb
# Reset the index when the parent is updated
#
# @return [self]
#
# @api private
Reset the index when the parent is updated
Reset the index when the parent is updated
def reset
      merge_attributes(@parent) if @parent
      merge_attributes(@attributes)
      self
    end
def reset merge_attributes ( @parent ) if @parent merge_attributes ( @attributes ) self end
Reset the index when the parent is updated
Reset the index when the parent is updated
None
self
api
None