method

update

rails latest stable - Class: ActiveModel::StateMachine::Event

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

update(options = {}, &block)
public

No documentation available.

# File activemodel/lib/active_model/state_machine/event.rb, line 50
      def update(options = {}, &block)
        if options.key?(:success) then @success = options[:success] end
        if block                  then instance_eval(&block)        end
        self
      end