instance method update

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

update(options = {})

No documentation comment.

Parameters

options opt = {}
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close