instance method ==

Ruby on Rails 2.3.18

Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

==(event)

No documentation comment.

Parameters

event req
Source
# File activemodel/lib/active_model/state_machine/event.rb, line 42
      def ==(event)
        if event.is_a? Symbol
          name == event
        else
          name == event.name
        end
      end

Defined in activemodel/lib/active_model/state_machine/event.rb line 42 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::StateMachine::Event

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close