Class: Genit::Sitemap
- Inherits:
-
Object
- Object
- Genit::Sitemap
- Defined in:
- lib/genit/documents/sitemap.rb
Overview
Build an XML sitemap.
Instance Method Summary collapse
-
#get ⇒ Object
Public: Get the sitemap.
-
#initialize(urls) ⇒ Sitemap
constructor
Public: Constructor.
Constructor Details
Instance Method Details
#get ⇒ Object
Public: Get the sitemap
Returns the sitemap as a String.
18 19 20 |
# File 'lib/genit/documents/sitemap.rb', line 18 def get @builder.to_xml end |