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.
99 100 101 |
# File 'lib/cinch/plugin.rb', line 99 def event @event end |
#method ⇒ Symbol
Returns the current value of method.
99 100 101 |
# File 'lib/cinch/plugin.rb', line 99 def method @method end |