method
==
1.3.0 -
Show latest stable
-
0 notes -
Class: Spec::Mocks::ArgumentMatchers::DuckTypeMatcher
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
==(value)
public
Hide source
# File lib/spec/mocks/argument_matchers.rb, line 100 def ==(value) @methods_to_respond_to.all? { |sym| value.respond_to?(sym) } end