Module: TelegramBot::EventHandler::PrependMethods

Defined in:
lib/telegram_bot/handler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#handlersObject

Returns the value of attribute handlers.



32
33
34
# File 'lib/telegram_bot/handler.rb', line 32

def handlers
  @handlers
end

Instance Method Details

#initialize(*args, &block) ⇒ Object



34
35
36
37
# File 'lib/telegram_bot/handler.rb', line 34

def initialize(*args, &block)
  @handlers = []
  super(*args, &block)
end