Module: StripAttributes::ClassMethods
- Defined in:
- lib/strip_attributes.rb
Instance Method Summary collapse
Instance Method Details
#strip_attributes!(options = {}) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/strip_attributes.rb', line 12 def strip_attributes!( = {}) write_inheritable_attribute(:strip_attributes_options, { :except => Array([:except] || []), :only => Array([:only] || []) }) end |