Class: Contract::Check::Quack
Overview
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Contract::Check::Base
Instance Method Details
#===(other) ⇒ Object
50 51 52 |
# File 'lib/contract/integration.rb', line 50 def ===(other) @args.all? { |arg| other.respond_to?(arg) } end |