Module: Dry::View::DecoratedAttributes

Included in:
Context, Part
Defined in:
lib/dry/view/decorated_attributes.rb

Overview

Decorates attributes in Parts.

Defined Under Namespace

Modules: ClassInterface Classes: Attributes

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/dry/view/decorated_attributes.rb', line 10

def self.included(klass)
  klass.extend ClassInterface
end