Class: DmozSax::ExternalPage

Inherits:
Object
  • Object
show all
Defined in:
lib/dmoz_sax/external_page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/dmoz_sax/external_page.rb', line 3

def description
  @description
end

#pathObject

Returns the value of attribute path.



3
4
5
# File 'lib/dmoz_sax/external_page.rb', line 3

def path
  @path
end

#priorityObject

Returns the value of attribute priority.



3
4
5
# File 'lib/dmoz_sax/external_page.rb', line 3

def priority
  @priority
end

#timeObject

Returns the value of attribute time.



3
4
5
# File 'lib/dmoz_sax/external_page.rb', line 3

def time
  @time
end

#titleObject

Returns the value of attribute title.



3
4
5
# File 'lib/dmoz_sax/external_page.rb', line 3

def title
  @title
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/dmoz_sax/external_page.rb', line 3

def url
  @url
end