Module: Hanami::Extensions::View::Scope Private

Defined in:
lib/hanami/extensions/view/scope.rb

Overview

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

Since:

  • 2.1.0

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

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



11
12
13
14
15
16
17
# File 'lib/hanami/extensions/view/scope.rb', line 11

def self.included(scope_class)
  super

  scope_class.extend(Hanami::SliceConfigurable)
  scope_class.include(StandardHelpers)
  scope_class.extend(ClassMethods)
end