Class: DmozSax::ExternalPage
- Inherits:
-
Object
- Object
- DmozSax::ExternalPage
- Defined in:
- lib/dmoz_sax/external_page.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#path ⇒ Object
Returns the value of attribute path.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#time ⇒ Object
Returns the value of attribute time.
-
#title ⇒ Object
Returns the value of attribute title.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(url) ⇒ ExternalPage
constructor
A new instance of ExternalPage.
Constructor Details
#initialize(url) ⇒ ExternalPage
Returns a new instance of ExternalPage.
4 5 6 7 8 9 |
# File 'lib/dmoz_sax/external_page.rb', line 4 def initialize url @url = url @path, @title, @description = nil, nil, nil @priority = 0 @time = nil end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/dmoz_sax/external_page.rb', line 3 def description @description end |
#path ⇒ Object
Returns the value of attribute path.
3 4 5 |
# File 'lib/dmoz_sax/external_page.rb', line 3 def path @path end |
#priority ⇒ Object
Returns the value of attribute priority.
3 4 5 |
# File 'lib/dmoz_sax/external_page.rb', line 3 def priority @priority end |
#time ⇒ Object
Returns the value of attribute time.
3 4 5 |
# File 'lib/dmoz_sax/external_page.rb', line 3 def time @time end |
#title ⇒ Object
Returns the value of attribute title.
3 4 5 |
# File 'lib/dmoz_sax/external_page.rb', line 3 def title @title end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/dmoz_sax/external_page.rb', line 3 def url @url end |