Class: Surrogate::RSpec::InitializationMatcher
- Inherits:
-
VerbMatcher
- Object
- InvocationMatcher
- VerbMatcher
- Surrogate::RSpec::InitializationMatcher
- Defined in:
- lib/surrogate/rspec/initialization_matcher.rb
Instance Attribute Summary
Attributes inherited from InvocationMatcher
#method_name, #surrogate, #times_predicate, #with_filter
Instance Method Summary collapse
-
#initialize(*initialization_args, &block) ⇒ InitializationMatcher
constructor
A new instance of InitializationMatcher.
Methods inherited from InvocationMatcher
#failure_message, #failure_message_when_negated, #filtered_args, #invocations, #matches?, #message_for, #times, #with
Constructor Details
#initialize(*initialization_args, &block) ⇒ InitializationMatcher
Returns a new instance of InitializationMatcher.
6 7 8 9 |
# File 'lib/surrogate/rspec/initialization_matcher.rb', line 6 def initialize(*initialization_args, &block) super :initialize with *initialization_args, &block end |