Class: Cinch::Plugin::ClassMethods::Listener
- Inherits:
-
Struct
- Object
- Struct
- Cinch::Plugin::ClassMethods::Listener
- Defined in:
- lib/cinch/plugin.rb
Overview
Represents a Listener as created by #listen_to.
Instance Attribute Summary collapse
-
#event ⇒ Symbol
The current value of event.
-
#method ⇒ Symbol
The current value of method.
Instance Attribute Details
#event ⇒ Symbol
Returns the current value of event.
97 98 99 |
# File 'lib/cinch/plugin.rb', line 97 def event @event end |
#method ⇒ Symbol
Returns the current value of method.
97 98 99 |
# File 'lib/cinch/plugin.rb', line 97 def method @method end |