Object
Methods blocking on a call to receive
# File lib/celluloid/handlers.rb, line 27 def initialize(pattern, block) @pattern = pattern @block = block end
# File lib/celluloid/handlers.rb, line 37 def call(message) @block.call message end
Match a message with this receiver’s block
# File lib/celluloid/handlers.rb, line 33 def match(message) @pattern === message end
[Validate]
Generated with the Darkfish Rdoc Generator 2.