Method: ModelView#update
- Defined in:
- lib/model_view.rb
#update(object, data, opts = {}) ⇒ Object
57 58 59 60 |
# File 'lib/model_view.rb', line 57 def update(object, data, opts={}) scope = opts[:scope] || ROOT ModelView::Updater.update(object, @scopes, data , scope) end |