Module: Hanami::View::DecoratedAttributes

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

Overview

Decorates attributes in Parts.

Since:

  • 2.1.0

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.

Since:

  • 2.1.0



14
15
16
# File 'lib/hanami/view/decorated_attributes.rb', line 14

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