Class: Cinch::Plugin::ClassMethods::Hook
- Inherits:
-
Struct
- Object
- Struct
- Cinch::Plugin::ClassMethods::Hook
- Defined in:
- lib/cinch/plugin.rb
Overview
Represents a Hook as created by #hook.
Instance Attribute Summary collapse
-
#for ⇒ Array<Symbol>
The current value of for.
-
#group ⇒ Object
Returns the value of attribute group.
-
#method ⇒ Symbol
The current value of method.
-
#type ⇒ Symbol
The current value of type.
Instance Attribute Details
#for ⇒ Array<Symbol>
Returns the current value of for.
117 118 119 |
# File 'lib/cinch/plugin.rb', line 117 def for @for end |
#group ⇒ Object
Returns the value of attribute group
117 118 119 |
# File 'lib/cinch/plugin.rb', line 117 def group @group end |
#method ⇒ Symbol
Returns the current value of method.
117 118 119 |
# File 'lib/cinch/plugin.rb', line 117 def method @method end |
#type ⇒ Symbol
Returns the current value of type.
117 118 119 |
# File 'lib/cinch/plugin.rb', line 117 def type @type end |