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

#forArray<Symbol>



117
118
119
# File 'lib/cinch/plugin.rb', line 117

def for
  @for
end

#groupObject

Returns the value of attribute group



117
118
119
# File 'lib/cinch/plugin.rb', line 117

def group
  @group
end

#methodSymbol



117
118
119
# File 'lib/cinch/plugin.rb', line 117

def method
  @method
end

#typeSymbol



117
118
119
# File 'lib/cinch/plugin.rb', line 117

def type
  @type
end