Class: Pennyworth::Presenters::HTMX
- Inherits:
-
Object
- Object
- Pennyworth::Presenters::HTMX
- Extended by:
- Forwardable
- Defined in:
- lib/pennyworth/presenters/htmx.rb
Overview
Shapes a htmx record for serialization.
Instance Method Summary collapse
-
#initialize(record) ⇒ HTMX
constructor
A new instance of HTMX.
Constructor Details
#initialize(record) ⇒ HTMX
Returns a new instance of HTMX.
13 14 15 |
# File 'lib/pennyworth/presenters/htmx.rb', line 13 def initialize record @record = record end |