Module: QbertBot::Plugin
- Included in:
- Core::Healthcheck, Core::Help
- Defined in:
- lib/qbert_bot/plugin.rb
Instance Attribute Summary collapse
-
#bot ⇒ Object
Returns the value of attribute bot.
-
#router ⇒ Object
Returns the value of attribute router.
-
#scheduler ⇒ Object
Returns the value of attribute scheduler.
-
#slack ⇒ Object
Returns the value of attribute slack.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#bot ⇒ Object
Returns the value of attribute bot.
12 13 14 |
# File 'lib/qbert_bot/plugin.rb', line 12 def bot @bot end |
#router ⇒ Object
Returns the value of attribute router.
12 13 14 |
# File 'lib/qbert_bot/plugin.rb', line 12 def router @router end |
#scheduler ⇒ Object
Returns the value of attribute scheduler.
12 13 14 |
# File 'lib/qbert_bot/plugin.rb', line 12 def scheduler @scheduler end |
#slack ⇒ Object
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 |
.plugins ⇒ Object
8 9 10 |
# File 'lib/qbert_bot/plugin.rb', line 8 def self.plugins @plugins end |
Instance Method Details
#help ⇒ Object
16 17 18 19 20 |
# File 'lib/qbert_bot/plugin.rb', line 16 def help [ [] ] end |
#register ⇒ Object
13 14 |
# File 'lib/qbert_bot/plugin.rb', line 13 def register end |