Class: Pulitzer::PartialTag

Inherits:
ApplicationRecord show all
Defined in:
app/models/pulitzer/partial_tag.rb

Instance Method Summary collapse

Methods inherited from ApplicationRecord

assoc_name, attrs_name, convert_hash_to_nested, convert_nested_assoc

Instance Method Details

#clone_meObject



7
8
9
10
11
# File 'app/models/pulitzer/partial_tag.rb', line 7

def clone_me
  my_clone = self.dup
  my_clone.partial_id = nil
  my_clone
end