class ActionDispatch::Journey::GTG::TransitionTable

def states_hash_for(sym)

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