Sha256: 2be98f7a8b6242a21789da3a7ab3c81c489da15f36b92081e5c680223da2fc15
Contents?: true
Size: 737 Bytes
Versions: 8
Compression:
Stored size: 737 Bytes
Contents
# frozen_string_literal: true module Hanami module Extensions module View # @api private # @since 2.1.0 module Scope # @api private # @since 2.1.0 def self.included(scope_class) super scope_class.extend(Hanami::SliceConfigurable) scope_class.include(StandardHelpers) scope_class.extend(ClassMethods) end # @api private # @since 2.1.0 module ClassMethods # @api private # @since 2.1.0 def configure_for_slice(slice) extend SliceConfiguredHelpers.new(slice) end end end end end end Hanami::View::Scope.include(Hanami::Extensions::View::Scope)
Version data entries
8 entries across 8 versions & 1 rubygems