@api private Used to wrap match data and make it reliable for 1.8.7
# File lib/rspec/matchers/built_in/match.rb, line 73 def initialize(match_data) @match_data = match_data end
@api private returns an array of captures from the match data @return Array
# File lib/rspec/matchers/built_in/match.rb, line 96 def captures match_data.captures end
@api private Returns match data names for named captures @return Array
# File lib/rspec/matchers/built_in/match.rb, line 81 def names [] end