Module: StripAttribute::ClassMethods

Defined in:
app/models/concerns/strip_attribute.rb

Instance Method Summary collapse

Instance Method Details

#strip_attributes(*attrs) ⇒ Object


16
17
18
# File 'app/models/concerns/strip_attribute.rb', line 16

def strip_attributes(*attrs)
  strip_attrs.concat(attrs)
end

#strip_attrsObject


20
21
22
# File 'app/models/concerns/strip_attribute.rb', line 20

def strip_attrs
  @strip_attrs ||= []
end