module Resync::SitemapIndex::ClassMethods
Ensures that an index is always read as a +<sitemapindex>+. Overrides ::XML::Mapping::ClassMethods.load_from_xml
.
Public Instance Methods
load_from_xml(xml, options = { mapping: :_default })
click to toggle source
Calls superclass method
# File lib/resync/shared/sitemap_index.rb, line 28 def load_from_xml(xml, options = { mapping: :_default }) options = options.merge(mapping: :sitemapindex) super(xml, options) end