colinsurprenant/redstorm — pull request #118 by ismith (2014-07-28 22:16:52+00:00)
Title: This allows for on_* to be defined by defining the corresponding instance method

directly. Prior to this fix, doing this will result in "SystemStackError: stack
level too deep".

Example
module RedStorm
module Examples
class SplitSentenceBolt < DSL::Bolt
def on_receive(tuple)
tuple[0].split(' ').map{|w| [w]}
end
end
end
end