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
130 131 132 |
# File 'lib/dommy/performance.rb', line 130 def detail @detail end |
#duration ⇒ Object
Returns the value of attribute duration
130 131 132 |
# File 'lib/dommy/performance.rb', line 130 def duration @duration end |
#entry_type ⇒ Object
Returns the value of attribute entry_type
130 131 132 |
# File 'lib/dommy/performance.rb', line 130 def entry_type @entry_type end |
#name ⇒ Object
Returns the value of attribute name
130 131 132 |
# File 'lib/dommy/performance.rb', line 130 def name @name end |
#start_time ⇒ Object
Returns the value of attribute start_time
130 131 132 |
# File 'lib/dommy/performance.rb', line 130 def start_time @start_time end |
Instance Method Details
#__js_get__(key) ⇒ Object
131 132 133 134 135 136 137 138 139 140 141 142 143 144 |
# File 'lib/dommy/performance.rb', line 131 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 |