module PDC::Resource::AttributeModifier::ClassMethods
Public Instance Methods
attribute_modifications()
click to toggle source
# File lib/pdc/resource/attribute_modifier.rb, line 14 def attribute_modifications @attribute_modifications ||= [] end
attribute_rename(from, to)
click to toggle source
rename an existing attribute `from` to `to` NOTE from must exist and to must not
# File lib/pdc/resource/attribute_modifier.rb, line 10 def attribute_rename(from, to) attribute_modifications << [:rename, from, to] end