Class: Bridgetown::Hooks::HookRegistration
- Inherits:
-
Struct
- Object
- Struct
- Bridgetown::Hooks::HookRegistration
- Defined in:
- lib/bridgetown-core/hooks.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
-
#event ⇒ Object
Returns the value of attribute event.
-
#owner ⇒ Object
Returns the value of attribute owner.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#reloadable ⇒ Object
Returns the value of attribute reloadable.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block
5 6 7 |
# File 'lib/bridgetown-core/hooks.rb', line 5 def block @block end |
#event ⇒ Object
Returns the value of attribute event
5 6 7 |
# File 'lib/bridgetown-core/hooks.rb', line 5 def event @event end |
#owner ⇒ Object
Returns the value of attribute owner
5 6 7 |
# File 'lib/bridgetown-core/hooks.rb', line 5 def owner @owner end |
#priority ⇒ Object
Returns the value of attribute priority
5 6 7 |
# File 'lib/bridgetown-core/hooks.rb', line 5 def priority @priority end |
#reloadable ⇒ Object
Returns the value of attribute reloadable
5 6 7 |
# File 'lib/bridgetown-core/hooks.rb', line 5 def reloadable @reloadable end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/bridgetown-core/hooks.rb', line 13 def to_s "#{owner}:#{event} for #{block}" end |