Sha256: 7f915900ec60263200c0fda84ea6bde9ff5ea9bd8d6953581af53b3bd182c108
Contents?: true
Size: 350 Bytes
Versions: 14
Compression:
Stored size: 350 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
14 entries across 14 versions & 3 rubygems