class RSpec::Matchers::BuiltIn::ReliableMatchData
@api private Used to wrap match data and make it reliable for 1.8.7
Attributes
Public Class Methods
Source
# File lib/rspec/matchers/built_in/match.rb, line 73 def initialize(match_data) @match_data = match_data end
Public Instance Methods
Source
# File lib/rspec/matchers/built_in/match.rb, line 98 def captures match_data.captures end
@api private returns an array of captures from the match data @return Array
Source
# File lib/rspec/matchers/built_in/match.rb, line 82 def names [] end
@api private Returns match data names for named captures @return Array :nocov: