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.
119 120 121 |
# File 'lib/cinch/plugin.rb', line 119 def for @for end |
#group ⇒ Object
Returns the value of attribute group
119 120 121 |
# File 'lib/cinch/plugin.rb', line 119 def group @group end |
#method ⇒ Symbol
Returns the current value of method.
119 120 121 |
# File 'lib/cinch/plugin.rb', line 119 def method @method end |
#type ⇒ Symbol
Returns the current value of type.
119 120 121 |
# File 'lib/cinch/plugin.rb', line 119 def type @type end |