Class: Wayback::Page

Inherits:
Identity show all
Defined in:
lib/wayback/page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Identity

#==, fetch, #id, #initialize, store

Methods inherited from Base

#[], #attr_equal, attr_reader, #attrs, #attrs_equal, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update

Constructor Details

This class inherits a constructor from Wayback::Identity

Instance Attribute Details

#htmlObject (readonly)

Returns the value of attribute html.



6
7
8
# File 'lib/wayback/page.rb', line 6

def html
  @html
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/wayback/page.rb', line 9

def to_s
  html || ''
end