Flowdock
method

move

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: TransitionTable
move(t, a) public

No documentation

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

Hide source
# File actionpack/lib/action_dispatch/journey/gtg/transition_table.rb, line 44
        def move(t, a)
          return [] if t.empty?

          regexps = []
          strings = []

          t.each { |s|
            if states = @regexp_states[s]
              states.each { |re, v| regexps << v if re.match?(a) && !v.nil? }
            end

            if states = @string_states[s]
              strings << states[a] unless states[a].nil?
            end
          }
          strings.concat regexps
        end
Register or log in to add new notes.