Class: Handshake::Block
- Inherits:
-
Object
- Object
- Handshake::Block
- Defined in:
- lib/handshake/handshake.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. Expect this to be replaced at some point in the future with a block_contract
construct.
Class Method Summary collapse
Class Method Details
.===(o) ⇒ Object
551 |
# File 'lib/handshake/handshake.rb', line 551 def Block.===(o); Proc === o; end |