lib/nanoc/helpers/xml_sitemap.rb in nanoc-4.2.0b1 vs lib/nanoc/helpers/xml_sitemap.rb in nanoc-4.2.0

- old
+ new

@@ -46,10 +46,10 @@ buffer = '' xml = Builder::XmlMarkup.new(target: buffer, indent: 2) # Check for required attributes if @config[:base_url].nil? - raise RuntimeError.new('The Nanoc::Helpers::XMLSitemap helper requires the site configuration to specify the base URL for the site.') + raise 'The Nanoc::Helpers::XMLSitemap helper requires the site configuration to specify the base URL for the site.' end # Build sitemap xml.instruct! xml.urlset(xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9') do