Class: RailsBand::ActionView::Event::RenderLayout

Inherits:
BaseEvent
  • Object
show all
Includes:
FromViews
Defined in:
lib/rails_band/action_view/event/render_layout.rb

Overview

A wrapper for the event that is passed to render_layout.action_view.

Instance Attribute Summary

Attributes inherited from BaseEvent

#allocations, #cpu_time, #duration, #end, #idle_time, #name, #time, #transaction_id

Instance Method Summary collapse

Methods inherited from BaseEvent

#initialize, #slice, #to_h

Constructor Details

This class inherits a constructor from RailsBand::BaseEvent

Instance Method Details

#identifier ⇒ Object



12
13
14
# File 'lib/rails_band/action_view/event/render_layout.rb', line 12

def identifier
  @identifier ||= from_views(@event.payload.fetch(:identifier))
end