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

### Home Classes Methods

### In Files

- lib/rspec/support/method_signature_verifier.rb

### Parent

Object

### Methods

- ::new
- #has_kw_args_in?
- #invalid_kw_args_from
- #missing_kw_args_from
- #non_kw_args_arity_description
- #valid_non_kw_args?

### Class/Module Index

Quicksearch

- RSpec
- RSpec::CallerFilter
- RSpec::Support
- RSpec::Support::BlockSignature
- RSpec::Support::Differ
- RSpec::Support::DirectoryMaker
- RSpec::Support::EncodedString
- RSpec::Support::FormattingSupport
- RSpec::Support::FuzzyMatcher
- RSpec::Support::HunkGenerator
- RSpec::Support::InSubProcess
- RSpec::Support::LooseSignatureVerifier
- RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
- RSpec::Support::MethodSignature
- RSpec::Support::MethodSignatureVerifier
- RSpec::Support::OS
- RSpec::Support::ObjectFormatter
- RSpec::Support::RecursiveConstMethods
- RSpec::Support::Ruby
- RSpec::Support::RubyFeatures
- RSpec::Support::ShellOut
- RSpec::Support::Spec
- RSpec::Support::StdErrSplitter
- RSpec::Support::StrictSignatureVerifier
- RSpec::Support::Version
- RSpec::Support::VersionChecker
- RSpec::Support::Warnings
- RSpec::Support::WithIsolatedStdErr
- Object
- RSpecHelpers

No matching classes.

# RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher

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.

@private

### Public Class Methods

new(signature) click to toggle source

    # File lib/rspec/support/method_signature_verifier.rb, line 247
    def initialize(signature)
      @signature = signature
    end

### Public Instance Methods

has_kw_args_in?(args) click to toggle source

    # File lib/rspec/support/method_signature_verifier.rb, line 267
    def has_kw_args_in?(args)
      @signature.has_kw_args_in?(args)
    end

invalid_kw_args_from(_kw_args) click to toggle source

    # File lib/rspec/support/method_signature_verifier.rb, line 255
    def invalid_kw_args_from(_kw_args)
      []
    end

missing_kw_args_from(_kw_args) click to toggle source

    # File lib/rspec/support/method_signature_verifier.rb, line 251
    def missing_kw_args_from(_kw_args)
      []
    end

non_kw_args_arity_description() click to toggle source

    # File lib/rspec/support/method_signature_verifier.rb, line 259
    def non_kw_args_arity_description
      @signature.non_kw_args_arity_description
    end

valid_non_kw_args?(*args) click to toggle source

    # File lib/rspec/support/method_signature_verifier.rb, line 263
    def valid_non_kw_args?(*args)
      @signature.valid_non_kw_args?(*args)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.