method

states_hash_for

states_hash_for(sym)
private

No documentation available.

# File actionpack/lib/action_dispatch/journey/gtg/transition_table.rb, line 198
          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