class MatchData
Public Instance Methods
Source
# File lib/backports/3.1.0/match_data/match.rb, line 2 def match(index) self[index] end
Source
# File lib/backports/3.1.0/match_data/match_length.rb, line 2 def match_length(index) m = self[index] m && m.length end