123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher Private

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: rspec-support/lib/rspec/support/method_signature_verifier.rb

Overview

If a matcher is used in a signature in place of keyword arguments, all keyword argument validation needs to be skipped since the matcher is opaque.

Instead, keyword arguments will be validated when the method is called and they are actually known.

Class Method Summary

Instance Method Summary

Instance Method Details

#has_kw_args_in?(args) ⇒ Boolean

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/method_signature_verifier.rb', line 436

def has_kw_args_in?(args)
  @signature.has_kw_args_in?(args)
end

#invalid_kw_args_from(_kw_args)

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/method_signature_verifier.rb', line 424

def invalid_kw_args_from(_kw_args)
  []
end

#missing_kw_args_from(_kw_args)

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/method_signature_verifier.rb', line 420

def missing_kw_args_from(_kw_args)
  []
end

#non_kw_args_arity_description

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/method_signature_verifier.rb', line 428

def non_kw_args_arity_description
  @signature.non_kw_args_arity_description
end

#valid_non_kw_args?(*args) ⇒ Boolean

[ GitHub ]

  
# File 'rspec-support/lib/rspec/support/method_signature_verifier.rb', line 432

def valid_non_kw_args?(*args)
  @signature.valid_non_kw_args?(*args)
end