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

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

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:

  • 2.1.0



29
30
31
# File 'lib/hanami/extensions/view.rb', line 29

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