class ActionDispatch::Journey::GTG::TransitionTable

def states_hash_for(sym)

Experimental RBS support (using type sampling data from the type_fusion project).

def states_hash_for: ((String | Regexp) sym) -> Hash

This signature was generated using 7 samples from 1 application.

def states_hash_for(sym)
  case sym
  when String, Symbol
    @string_states
  when Regexp
    if sym == DEFAULT_EXP
      @stdparam_states
    else
      @regexp_states
    end
  else
    raise ArgumentError, "unknown symbol: %s" % sym.class
  end
end