instance method
update
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
update(options = {})
No documentation comment.
Parameters
-
optionsopt = {}
Source
# File activemodel/lib/active_model/state_machine/state.rb, line 43
def update(options = {})
if options.key?(:display) then @display_name = options.delete(:display) end
@options = options
self
end
Defined in activemodel/lib/active_model/state_machine/state.rb line 43
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::StateMachine::State