Class: Dommy::PerformanceEntry
- Inherits:
-
Struct
- Object
- Struct
- Dommy::PerformanceEntry
- Defined in:
- lib/dommy/performance.rb
Overview
‘PerformanceEntry` — common shape for User Timing marks/measures.
Instance Attribute Summary collapse
-
#detail ⇒ Object
Returns the value of attribute detail.
-
#duration ⇒ Object
Returns the value of attribute duration.
-
#entry_type ⇒ Object
Returns the value of attribute entry_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#start_time ⇒ Object
Returns the value of attribute start_time.
Instance Method Summary collapse
Instance Attribute Details
#detail ⇒ Object
Returns the value of attribute detail
134 135 136 |
# File 'lib/dommy/performance.rb', line 134 def detail @detail end |
#duration ⇒ Object
Returns the value of attribute duration
134 135 136 |
# File 'lib/dommy/performance.rb', line 134 def duration @duration end |
#entry_type ⇒ Object
Returns the value of attribute entry_type
134 135 136 |
# File 'lib/dommy/performance.rb', line 134 def entry_type @entry_type end |
#name ⇒ Object
Returns the value of attribute name
134 135 136 |
# File 'lib/dommy/performance.rb', line 134 def name @name end |
#start_time ⇒ Object
Returns the value of attribute start_time
134 135 136 |
# File 'lib/dommy/performance.rb', line 134 def start_time @start_time end |
Instance Method Details
#__js_get__(key) ⇒ Object
135 136 137 138 139 140 141 142 143 144 145 146 147 148 |
# File 'lib/dommy/performance.rb', line 135 def __js_get__(key) case key when "name" name when "entryType" entry_type when "startTime" start_time when "duration" duration when "detail" detail end end |