class XNM::Telegram::OnTelegramEvent
Dummy class to provide sensible defaults for most things. Only really matters for priority, so that we can sort after that.
@todo Test if the sorting is the right way around
Attributes
priority[RW]
Public Class Methods
new()
click to toggle source
# File lib/xnm/telegram/Handler.rb, line 16 def initialize() @priority = 0 end
Public Instance Methods
<=>(other)
click to toggle source
# File lib/xnm/telegram/Handler.rb, line 22 def <=>(other) self.priority <=> other.priority end
nomp_message(message)
click to toggle source
# File lib/xnm/telegram/Handler.rb, line 20 def nomp_message(message) end