Class: Log
- Inherits:
-
Sponge::Plugin
- Object
- Sponge::Plugin
- Log
- Defined in:
- lib/proto/plugins/log.rb
Constant Summary
Constants inherited from Sponge::Plugin
Sponge::Plugin::AUTH, Sponge::Plugin::LIST, Sponge::Plugin::LISTENERS
Instance Method Summary collapse
Methods inherited from Sponge::Plugin
command, has_listener?, #help, inherited, #initialize, listen_to, requires_auth, #requires_auth?, #usage
Constructor Details
This class inherits a constructor from Sponge::Plugin
Instance Method Details
#listen(message) ⇒ Object
4 5 6 |
# File 'lib/proto/plugins/log.rb', line 4 def listen() puts "<#{.channel}/#{.nick}> #{.text}" end |