Sha256: c21f47dfaa5eb364dd59a46afd20f63d7172b8e286366087a27c27e5d199c228
Contents?: true
Size: 356 Bytes
Versions: 7
Compression:
Stored size: 356 Bytes
Contents
module SitemapGenerator # Generator instances are used to build links. # The object passed to the add_links block in config/sitemap.rb is a Generator instance. class Mapper attr_accessor :set def initialize(set) @set = set end def add(loc, options = {}) set.add_link Link.generate(loc, options) end end end
Version data entries
7 entries across 7 versions & 2 rubygems