Class: Contract::Check::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/contract/integration.rb

Overview

An abstract Base class for Contract::Check classes. Contains logic for instantation.

Direct Known Subclasses

All, Any, Block, None, Quack

Instance Method Summary collapse

Constructor Details

#initialize(*args, &block) ⇒ Base

Returns a new instance of Base.



28
29
30
# File 'lib/contract/integration.rb', line 28

def initialize(*args, &block)
  @args, @block = args, block
end