Module: Hanami::View::DecoratedAttributes::ClassInterface
- Defined in:
- lib/hanami/view/decorated_attributes.rb
Overview
Decorated attributes class-level interface.
Constant Summary collapse
- MODULE_NAME =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
:DecoratedAttributes
Instance Method Summary collapse
-
#decorate(*names, **options) ⇒ Object
Decorates the provided attributes, wrapping them in Parts using the current render environment.
Instance Method Details
#decorate(*names, **options) ⇒ Object
Decorates the provided attributes, wrapping them in Parts using the current render environment.
42 43 44 |
# File 'lib/hanami/view/decorated_attributes.rb', line 42 def decorate(*names, **) decorated_attributes.decorate(*names, **) end |