Class: Contract::Check::All
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
59 60 61 |
# File 'lib/contract/integration.rb', line 59 def ===(other) @args.all? { |arg| arg === other } end |