Module: Dry::View::DecoratedAttributes::ClassInterface
- Defined in:
- lib/dry/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.
34 35 36 |
# File 'lib/dry/view/decorated_attributes.rb', line 34 def decorate(*names, **) decorated_attributes.decorate(*names, **) end |