Method: RSpec::Matchers::BuiltIn::RespondTo#with_keywords
- Defined in:
- lib/rspec/matchers/built_in/respond_to.rb
#with_keywords(*keywords) ⇒ Object Also known as: and_keywords
Specifies keyword arguments, if any.
36 37 38 39 |
# File 'lib/rspec/matchers/built_in/respond_to.rb', line 36 def with_keywords(*keywords) @expected_keywords = keywords self end |