Module: LockedAttributes::ClassMethods
- Defined in:
- lib/locked_attributes.rb
Instance Method Summary collapse
Instance Method Details
#lock_attributes(*args) ⇒ Object
10 11 12 |
# File 'lib/locked_attributes.rb', line 10 def lock_attributes(*args) self.locked_attributes = args.map(&:to_s) end |