class ActionDispatch::Journey::Path::Pattern::MatchData
:nodoc:
def [](x)
def [](x) idx = @offsets[x - 1] + x @match[idx] end
def captures
def captures (length - 1).times.map { |i| self[i + 1] } end
def initialize(names, offsets, match)
def initialize(names, offsets, match) @names = names @offsets = offsets @match = match end
def length
def length @offsets.length end
def post_match
def post_match @match.post_match end
def to_s
def to_s @match.to_s end