annotation Tourmaline::On
Overview
Run the annotated method every time a particular UpdateAction
is fired.
Example:
@[On(:message)]
def on_message(message)
pp message
end
Run the annotated method every time a particular UpdateAction
is fired.
Example:
@[On(:message)]
def on_message(message)
pp message
end