Class: Handshake::Block
- Inherits:
-
Object
- Object
- Handshake::Block
- Defined in:
- lib/handshake/block_contract.rb
Overview
For block-checking, we need a class which is_a? Proc for instance checking purposes but isn’t the same so as not to prevent the user from passing in explicitly defined procs as arguments. Retained for backwards compatibility; all blocks should be block contracts.