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

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

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Attribute Details

#eventObject

Returns the value of attribute event

Returns:

  • (Object)

    the current value of event



9
10
11
# File 'lib/cinch/plugin.rb', line 9

def event
  @event
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



9
10
11
# File 'lib/cinch/plugin.rb', line 9

def method
  @method
end