method
move_regexp
v4.1.8 -
Show latest stable
- Class:
ActionDispatch::Journey::GTG::TransitionTable
move_regexp(t, a)private
No documentation available.
# File actionpack/lib/action_dispatch/journey/gtg/transition_table.rb, line 143
def move_regexp(t, a)
return [] if t.empty?
t.map { |s|
if states = @regexp_states[s]
states.map { |re, v| re === a ? v : nil }
end
}.flatten.compact.uniq
end