Class: BigSitemapMerb

Inherits:
BigSitemap show all
Defined in:
lib/big_sitemap.rb

Constant Summary

Constants inherited from BigSitemap

BigSitemap::DEFAULTS

Class Method Summary collapse

Methods inherited from BigSitemap

#add, #add_path, #add_static, #add_urls, #clean, #dir_files, #document_full, #file_name, #first_id_of_last_sitemap, #first_id_of_last_sitemap=, #generate, #generate_sitemap_index, #initialize, #ping_search_engines, #with_lock

Constructor Details

This class inherits a constructor from BigSitemap

Class Method Details

.generate(options = {}, &block) ⇒ Object



290
291
292
293
294
295
296
# File 'lib/big_sitemap.rb', line 290

def self.generate(options={}, &block)
  raise 'No Merb Environment loaded' unless defined? ::Merb
  require 'extlib'

  DEFAULTS.merge!(:document_root => "#{Merb.root}/public")
  super(options, &block)
end