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