method
update
v2.2.1 -
Show latest stable
- Class:
ActiveModel::StateMachine::Event
update(options = {}, &block)public
No documentation available.
# File activemodel/lib/active_model/state_machine/event.rb, line 48
def update(options = {}, &block)
if options.key?(:success) then @success = options[:success] end
if block then instance_eval(&block) end
self
end