Class: HttpArchive::Page
- Inherits:
-
Object
- Object
- HttpArchive::Page
- Defined in:
- lib/http_archive/classes.rb
Overview
Holds general data of the page and its loading process
Instance Attribute Summary collapse
-
#id ⇒ String
Returns the id of the page.
-
#on_content_load ⇒ Fixnum
Returns the amount of milliseconds sice the page load started and the content is loaded.
-
#on_load ⇒ Fixnum
Returns the amount of milliseconds sice the page load started and the page itself is loaded.
-
#started_datetime ⇒ String
Returns the datetime as string when loading of the page started.
-
#title ⇒ String
Returns the title of the page.
Instance Attribute Details
#id ⇒ String
Returns the id of the page
30 31 32 |
# File 'lib/http_archive/classes.rb', line 30 def id @id end |
#on_content_load ⇒ Fixnum
Returns the amount of milliseconds sice the page load started and the content is loaded
36 37 38 |
# File 'lib/http_archive/classes.rb', line 36 def on_content_load @on_content_load end |
#on_load ⇒ Fixnum
Returns the amount of milliseconds sice the page load started and the page itself is loaded
39 40 41 |
# File 'lib/http_archive/classes.rb', line 39 def on_load @on_load end |
#started_datetime ⇒ String
Returns the datetime as string when loading of the page started
27 28 29 |
# File 'lib/http_archive/classes.rb', line 27 def started_datetime @started_datetime end |
#title ⇒ String
Returns the title of the page
33 34 35 |
# File 'lib/http_archive/classes.rb', line 33 def title @title end |