# File lib/journey/path/pattern.rb, line 143 def captures (length - 1).times.map { |i| self[i + 1] } end