Class: SiteMapper::SiteMapper
- Inherits:
-
Object
- Object
- SiteMapper::SiteMapper
- Includes:
- BaseMethods
- Defined in:
- lib/taq-sitemapper.rb
Instance Attribute Summary collapse
-
#changefreq ⇒ Object
Returns the value of attribute changefreq.
-
#file ⇒ Object
Returns the value of attribute file.
-
#lastmod ⇒ Object
Returns the value of attribute lastmod.
-
#loc ⇒ Object
Returns the value of attribute loc.
-
#priority ⇒ Object
Returns the value of attribute priority.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize ⇒ SiteMapper
constructor
A new instance of SiteMapper.
Methods included from BaseMethods
Constructor Details
#initialize ⇒ SiteMapper
Returns a new instance of SiteMapper.
77 78 79 80 81 82 83 84 |
# File 'lib/taq-sitemapper.rb', line 77 def initialize @url = nil @loc = :loc @lastmod = :lastmod @changefreq = "daily" @priority = 1.00 @file = nil end |
Instance Attribute Details
#changefreq ⇒ Object
Returns the value of attribute changefreq.
75 76 77 |
# File 'lib/taq-sitemapper.rb', line 75 def changefreq @changefreq end |
#file ⇒ Object
Returns the value of attribute file.
75 76 77 |
# File 'lib/taq-sitemapper.rb', line 75 def file @file end |
#lastmod ⇒ Object
Returns the value of attribute lastmod.
75 76 77 |
# File 'lib/taq-sitemapper.rb', line 75 def lastmod @lastmod end |
#loc ⇒ Object
Returns the value of attribute loc.
75 76 77 |
# File 'lib/taq-sitemapper.rb', line 75 def loc @loc end |
#priority ⇒ Object
Returns the value of attribute priority.
75 76 77 |
# File 'lib/taq-sitemapper.rb', line 75 def priority @priority end |
#url ⇒ Object
Returns the value of attribute url.
75 76 77 |
# File 'lib/taq-sitemapper.rb', line 75 def url @url end |