Class: Lita::Handlers::Help
- Inherits:
-
Object
- Object
- Lita::Handlers::Help
- Extended by:
- Handler::ChatRouter
- Defined in:
- lib/lita/handlers/help.rb
Overview
Provides online help about Lita commands for users.
Instance Method Summary collapse
-
#help(response) ⇒ void
Outputs help information about Lita commands.
Instance Method Details
#help(response) ⇒ void
This method returns an undefined value.
Outputs help information about Lita commands.
16 17 18 19 20 |
# File 'lib/lita/handlers/help.rb', line 16 def help(response) output = build_help(response) output = filter_help(output, response) response.reply_privately output.join("\n") end |