Class: BigSitemapMerb
- Inherits:
-
BigSitemap
- Object
- BigSitemap
- BigSitemapMerb
- Defined in:
- lib/big_sitemap.rb
Constant Summary
Constants inherited from BigSitemap
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(={}, &block) raise 'No Merb Environment loaded' unless defined? ::Merb require 'extlib' DEFAULTS.merge!(:document_root => "#{Merb.root}/public") super(, &block) end |