Class: Cakewalk::Plugin::ClassMethods::Listener

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

Overview

Represents a Listener as created by #listen_to.

Instance Attribute Summary collapse

Instance Attribute Details

#eventSymbol

Returns the current value of event.

Returns:

  • (Symbol)

    the current value of event



97
98
99
# File 'lib/cakewalk/plugin.rb', line 97

def event
  @event
end

#methodSymbol

Returns the current value of method.

Returns:

  • (Symbol)

    the current value of method



97
98
99
# File 'lib/cakewalk/plugin.rb', line 97

def method
  @method
end