Class: Pennyworth::CLI::Actions::HTMX::Extension
- Inherits:
-
Sod::Action
- Object
- Sod::Action
- Pennyworth::CLI::Actions::HTMX::Extension
- Defined in:
- lib/pennyworth/cli/actions/htmx/extension.rb
Overview
Handles extension documentation action.
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(processor: Processor.for_htmx) ⇒ Extension
constructor
A new instance of Extension.
Constructor Details
Instance Method Details
#call ⇒ Object
22 |
# File 'lib/pennyworth/cli/actions/htmx/extension.rb', line 22 def call(*) = io.puts processor.call(settings.htmx_extensions_uri).to_json |