# File lib/journey/gtg/transition_table.rb, line 115
      def []= from, to, sym
        case sym
        when String
          @string_states[from][sym] = to
        when Regexp
          @regexp_states[from][sym] = to
        else
          raise ArgumentError, 'unknown symbol: %s' % sym.class
        end
      end