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
152 153 154 |
# File 'lib/dommy/performance.rb', line 152 def detail @detail end |
#duration ⇒ Object
Returns the value of attribute duration
152 153 154 |
# File 'lib/dommy/performance.rb', line 152 def duration @duration end |
#entry_type ⇒ Object
Returns the value of attribute entry_type
152 153 154 |
# File 'lib/dommy/performance.rb', line 152 def entry_type @entry_type end |
#name ⇒ Object
Returns the value of attribute name
152 153 154 |
# File 'lib/dommy/performance.rb', line 152 def name @name end |
#start_time ⇒ Object
Returns the value of attribute start_time
152 153 154 |
# File 'lib/dommy/performance.rb', line 152 def start_time @start_time end |
Instance Method Details
#__js_get__(key) ⇒ Object
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'lib/dommy/performance.rb', line 153 def __js_get__(key) case key when "name" name when "entryType" entry_type when "startTime" start_time when "duration" duration when "detail" detail else Bridge::ABSENT end end |