Class: SuperDiff::RSpec::MatcherTextBuilders::RespondTo
- Defined in:
- lib/super_diff/rspec/matcher_text_builders/respond_to.rb
Instance Method Summary collapse
-
#initialize(expected_arity:, arbitrary_keywords:, expected_keywords:, unlimited_arguments:, **rest) ⇒ RespondTo
constructor
A new instance of RespondTo.
Methods inherited from Base
Constructor Details
#initialize(expected_arity:, arbitrary_keywords:, expected_keywords:, unlimited_arguments:, **rest) ⇒ RespondTo
Returns a new instance of RespondTo.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/super_diff/rspec/matcher_text_builders/respond_to.rb', line 7 def initialize( expected_arity:, arbitrary_keywords:, expected_keywords:, unlimited_arguments:, **rest ) super(**rest) @expected_arity = expected_arity @arbitrary_keywords = arbitrary_keywords @expected_keywords = expected_keywords @unlimited_arguments = unlimited_arguments end |