Module: Hanami::Extensions::View::Context::ClassMethods Private

Defined in:
lib/hanami/extensions/view/context.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:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#configure_for_slice(slice) ⇒ 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



25
26
27
# File 'lib/hanami/extensions/view/context.rb', line 25

def configure_for_slice(slice)
  extend SliceConfiguredContext.new(slice)
end