method
captures
v4.2.1 -
Show latest stable
- Class:
ActionDispatch::Journey::Path::Pattern::MatchData
captures()public
No documentation available.
# File actionpack/lib/action_dispatch/journey/path/pattern.rb, line 142
def captures
(length - 1).times.map { |i| self[i + 1] }
end