Class: Cinch::Plugin::ClassMethods::Hook

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

Overview

Represents a Hook as created by #hook.

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Array<Symbol>) for

The current value of for

Returns:

  • (Array<Symbol>)

    the current value of for



110
111
112
# File 'lib/cinch/plugin.rb', line 110

def for
  @for
end

- (Symbol) method

The current value of method

Returns:

  • (Symbol)

    the current value of method



110
111
112
# File 'lib/cinch/plugin.rb', line 110

def method
  @method
end

- (Symbol) type

The current value of type

Returns:

  • (Symbol)

    the current value of type



110
111
112
# File 'lib/cinch/plugin.rb', line 110

def type
  @type
end