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