Module: Polygon::Database
- Includes:
- Alf::Viewpoint
- Defined in:
- lib/polygon/database.rb
Defined Under Namespace
Classes: Adapter, Connection, Entries
Instance Method Summary collapse
Instance Method Details
#sitemap ⇒ Object
41 42 43 44 45 |
# File 'lib/polygon/database.rb', line 41 def sitemap extend(entries, path: ->{ entry.relative_path.to_url }, lastmod: ->{ entry.path.mtime.strftime("%Y-%m-%d") }) end |