Sha256: e7b701afdd479b51ebf8f0d3a1d901e5d4c64fea644ab10e6ec7f3615813ca0d

Contents?: true

Size: 778 Bytes

Versions: 28

Compression:

Stored size: 778 Bytes

Contents

# frozen_string_literal: true

require "skylight/normalizers/render"

module Skylight
  module Normalizers
    module ActionView
      # Normalizer for Rails layout rendering
      class RenderLayout < RenderNormalizer
        register "render_layout.action_view"

        CAT = "view.render.layout"

        # @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)
        # @return (see RenderNormalizer#normalize_render)
        def normalize(_trace, _name, payload)
          normalize_render(CAT, payload)
        end
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
skylight-6.1.0.beta lib/skylight/normalizers/action_view/render_layout.rb
skylight-6.0.4 lib/skylight/normalizers/action_view/render_layout.rb
skylight-6.0.3 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.3.5 lib/skylight/normalizers/action_view/render_layout.rb
skylight-6.0.2 lib/skylight/normalizers/action_view/render_layout.rb
skylight-6.0.1 lib/skylight/normalizers/action_view/render_layout.rb
skylight-6.0.0 lib/skylight/normalizers/action_view/render_layout.rb
skylight-6.0.0.beta2 lib/skylight/normalizers/action_view/render_layout.rb
skylight-6.0.0.beta lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.3.4 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.3.3 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.3.2 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.3.1 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.3.0 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.2.0 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.2.0.beta2 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.2.0.beta lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.1.1 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.1.0.beta3 lib/skylight/normalizers/action_view/render_layout.rb
skylight-5.1.0.beta2 lib/skylight/normalizers/action_view/render_layout.rb