Class: RSpec::Matchers::BuiltIn::YieldWithArgs Private
- Defined in:
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Provides the implementation for
Not intended to be instantiated directly.
Constants inherited from
Instance Method Summary collapse
#initialize(*args) ⇒ YieldWithArgs
A new instance of YieldWithArgs.
Methods inherited from
Methods included from
, , , , , ,
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 YieldWithArgs
265 266 267
# File 'lib/rspec/matchers/built_in/yield.rb', line 265 def initialize(*args) @expected = args end