Class: RR::Expectations::AnyArgumentExpectation
Overview
Instance Attribute Summary
#expected_arguments, #expected_keyword_arguments
Instance Method Summary
collapse
recursive_safe_eq
Constructor Details
4
5
6
|
# File 'lib/rr/expectations/any_argument_expectation.rb', line 4
def initialize
super([], {})
end
|
Instance Method Details
#==(other) ⇒ Object
16
17
18
|
# File 'lib/rr/expectations/any_argument_expectation.rb', line 16
def ==(other)
other.is_a?(self.class)
end
|
#exact_match?(arguments, keyword_arguments) ⇒ Boolean
8
9
10
|
# File 'lib/rr/expectations/any_argument_expectation.rb', line 8
def exact_match?(arguments, keyword_arguments)
false
end
|
#wildcard_match?(arguments, keyword_arguments) ⇒ Boolean
12
13
14
|
# File 'lib/rr/expectations/any_argument_expectation.rb', line 12
def wildcard_match?(arguments, keyword_arguments)
true
end
|