Method: Handshake::Clause#===

Defined in:
lib/handshake/clause_methods.rb

#===(o) ⇒ Object

Returns true if the block passed to the constructor returns true when called with the given argument.



16
17
18
# File 'lib/handshake/clause_methods.rb', line 16

def ===(o)
  @block.call(o)
end