Class: Cinch::Plugin::ClassMethods::Listener

Inherits:
Struct
  • Object
show all
Defined in:
lib/cinch/plugin.rb

Instance Attribute Summary collapse

Instance Attribute Details

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



7
8
9
# File 'lib/cinch/plugin.rb', line 7

def event
  @event
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



7
8
9
# File 'lib/cinch/plugin.rb', line 7

def method
  @method
end