Sha256: 398f05949e5005e8d96ab8e9f474081dc79c86314adc97c89ad148da871de8bb

Contents?: true

Size: 772 Bytes

Versions: 13

Compression:

Stored size: 772 Bytes

Contents

module Skylight
  module Normalizers
    module ActionView
      # Normalizer for Rails collection rendering
      class RenderCollection < RenderNormalizer
        register "render_collection.action_view"

        CAT = "view.render.collection".freeze

        # @param trace [Skylight::Messages::Trace::Builder] ignored, only present to match API
        # @param name [String] ignored, only present to match API
        # @param payload (see RenderNormalizer#normalize_render)
        # @option payload (see RenderNormalizer#normalize_render)
        # @option payload [Integer] :count
        # @return (see RenderNormalizer#normalize_render)
        def normalize(trace, name, payload)
          normalize_render(CAT, payload)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
skylight-1.7.2 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.7.1 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.7.0 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.6.1 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.6.0 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.5.1 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.5.0 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.4.4 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.4.3 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.4.2 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.4.1 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.4.0 lib/skylight/normalizers/action_view/render_collection.rb
skylight-1.4.0.beta.2 lib/skylight/normalizers/action_view/render_collection.rb