module Actor::Module::Handler::Macro
Public Instance Methods
handle(message_pattern, &handler)
click to toggle source
# File lib/actor/module/handler/macro.rb, line 5 def handle message_pattern, &handler method_name = MethodName.get message_pattern define_method method_name, &handler end