Class: Crawlscope::ServerTiming::Metric
- Inherits:
-
Data
- Object
- Data
- Crawlscope::ServerTiming::Metric
- Defined in:
- lib/crawlscope/server_timing.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
readonly
Returns the value of attribute description.
-
#duration ⇒ Object
readonly
Returns the value of attribute duration.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
Instance Attribute Details
#description ⇒ Object (readonly)
Returns the value of attribute description
12 13 14 |
# File 'lib/crawlscope/server_timing.rb', line 12 def description @description end |
#duration ⇒ Object (readonly)
Returns the value of attribute duration
12 13 14 |
# File 'lib/crawlscope/server_timing.rb', line 12 def duration @duration end |
#name ⇒ Object (readonly)
Returns the value of attribute name
12 13 14 |
# File 'lib/crawlscope/server_timing.rb', line 12 def name @name end |
Instance Method Details
#timed? ⇒ Boolean
13 14 15 |
# File 'lib/crawlscope/server_timing.rb', line 13 def timed? !duration.nil? end |