module AttributeChanger::Allower::ClassMethods

Public Instance Methods

attributes_allowed_for_step_change(attribs = nil) click to toggle source
# File lib/attribute_changer/allower.rb, line 9
def attributes_allowed_for_step_change(attribs = nil)
  self._attributes_allowed_for_step_change ||= []
  self._attributes_allowed_for_step_change = *attribs if attribs
  _attributes_allowed_for_step_change
end