Class: Skylight::Core::Normalizers::ActionView::RenderCollection Private

Inherits:
RenderNormalizer show all
Defined in:
lib/skylight/core/normalizers/action_view/render_collection.rb

Overview

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

Normalizer for Rails collection rendering

Constant Summary collapse

CAT =

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

"view.render.collection".freeze

Instance Attribute Summary

Attributes inherited from Normalizer

#config

Instance Method Summary collapse

Methods inherited from RenderNormalizer

#normalize_render, #relative_path, #setup

Methods included from Util::AllocationFree

#array_find

Methods inherited from Normalizer

#initialize, #normalize_after, register

Constructor Details

This class inherits a constructor from Skylight::Core::Normalizers::Normalizer

Instance Method Details

#normalize(_trace, _name, payload) ⇒ Array

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.

Parameters:

  • trace (Skylight::Messages::Trace::Builder)

    ignored, only present to match API

  • name (String)

    ignored, only present to match API

  • payload (Hash)

Options Hash (payload):

  • :count (Integer)
  • :identifier (String)

Returns:

  • (Array)


18
19
20
# File 'lib/skylight/core/normalizers/action_view/render_collection.rb', line 18

def normalize(_trace, _name, payload)
  normalize_render(CAT, payload)
end