Module: QbertBot::Plugin

Included in:
Core::Healthcheck, Core::Help
Defined in:
lib/qbert_bot/plugin.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#botObject

Returns the value of attribute bot.



12
13
14
# File 'lib/qbert_bot/plugin.rb', line 12

def bot
  @bot
end

#routerObject

Returns the value of attribute router.



12
13
14
# File 'lib/qbert_bot/plugin.rb', line 12

def router
  @router
end

#schedulerObject

Returns the value of attribute scheduler.



12
13
14
# File 'lib/qbert_bot/plugin.rb', line 12

def scheduler
  @scheduler
end

#slackObject

Returns the value of attribute slack.



12
13
14
# File 'lib/qbert_bot/plugin.rb', line 12

def slack
  @slack
end

Class Method Details

.included(klass) ⇒ Object



3
4
5
6
# File 'lib/qbert_bot/plugin.rb', line 3

def self.included(klass)
  @plugins ||= []
  @plugins << klass
end

.pluginsObject



8
9
10
# File 'lib/qbert_bot/plugin.rb', line 8

def self.plugins
  @plugins
end

Instance Method Details

#helpObject



16
17
18
19
20
# File 'lib/qbert_bot/plugin.rb', line 16

def help
  [
    []
  ]
end

#registerObject



13
14
# File 'lib/qbert_bot/plugin.rb', line 13

def register
end