Class: RenderGuardian::RenderEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/render_guardian/profiler.rb

Instance Attribute Summary collapse

Instance Attribute Details

#db_queriesObject

Returns the value of attribute db_queries

Returns:

  • (Object)

    the current value of db_queries



4
5
6
# File 'lib/render_guardian/profiler.rb', line 4

def db_queries
  @db_queries
end

#duration_msObject

Returns the value of attribute duration_ms

Returns:

  • (Object)

    the current value of duration_ms



4
5
6
# File 'lib/render_guardian/profiler.rb', line 4

def duration_ms
  @duration_ms
end

#helpers_calledObject

Returns the value of attribute helpers_called

Returns:

  • (Object)

    the current value of helpers_called



4
5
6
# File 'lib/render_guardian/profiler.rb', line 4

def helpers_called
  @helpers_called
end

#partialObject

Returns the value of attribute partial

Returns:

  • (Object)

    the current value of partial



4
5
6
# File 'lib/render_guardian/profiler.rb', line 4

def partial
  @partial
end

#templateObject

Returns the value of attribute template

Returns:

  • (Object)

    the current value of template



4
5
6
# File 'lib/render_guardian/profiler.rb', line 4

def template
  @template
end

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



4
5
6
# File 'lib/render_guardian/profiler.rb', line 4

def timestamp
  @timestamp
end