Method: FormModel#update

Defined in:
lib/form_model/model.rb

#update(attrs = {}) ⇒ Object



68
69
70
71
# File 'lib/form_model/model.rb', line 68

def update(attrs = {})
  self.attributes = attrs || {}
  self
end