Method: RSpec::Matchers::BuiltIn::Match#initialize
- Defined in:
- lib/rspec/matchers/built_in/match.rb
#initialize(expected) ⇒ Match
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Match.
8 9 10 11 12 |
# File 'lib/rspec/matchers/built_in/match.rb', line 8 def initialize(expected) super(expected) @expected_captures = nil end |