Module: Hanami::Utils::ClassAttribute

Defined in:
lib/hanami/utils/class_attribute.rb,
lib/hanami/utils/class_attribute/attributes.rb

Overview

Inheritable class level variable accessors.

See Also:

Since:

  • 0.1.0

Defined Under Namespace

Modules: ClassMethods Classes: Attributes

Class Method Summary collapse

Class Method Details

.included(base) ⇒ 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:

  • 0.1.0



13
14
15
# File 'lib/hanami/utils/class_attribute.rb', line 13

def self.included(base)
  base.extend ClassMethods
end