Class: Thredded::AllViewHooks::ViewHook
- Inherits:
-
Object
- Object
- Thredded::AllViewHooks::ViewHook
- Defined in:
- app/view_hooks/thredded/all_view_hooks.rb
Overview
Contains the view hook content and can render a view hook.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ViewHook
constructor
A new instance of ViewHook.
- #render(view_context, **args, &block) ⇒ String
Constructor Details
Instance Attribute Details
#config ⇒ Thredded::ViewHooks::Config (readonly)
113 114 115 |
# File 'app/view_hooks/thredded/all_view_hooks.rb', line 113 def config @config end |