method

ensure_state!

Importance_0
v7.2.3 - Show latest stable - 0 notes - Class: Handle
ensure_state!(expected) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/notifications/fanout.rb, line 264
          def ensure_state!(expected)
            if @state != expected
              raise ArgumentError, "expected state to be #{expected.inspect} but was #{@state.inspect}"
            end
          end
Register or log in to add new notes.