def sitemap_content(&block)

      if defined?(self.sitemap_model) && self.sitemap_model.kind_of?(Array)

        self.sitemap_model.each do |row|
          block.call(row)
        end

      end

      return nil
    end
def sitemap_content(&block)

      if defined?(self.sitemap_model) && self.sitemap_model.kind_of?(Array)

        self.sitemap_model.each do |row|
          block.call(row)
        end

      end

      return nil
    end
View helper method to generate the content of a sitemap.  Loops through all of the current
 Hashes contained in {DuckMap::Model#sitemap_model}.

 To see it in action, have a look at the file.

 /app/views/sitemap/default_template.xml.erb

 @param [Block] block A block to execute for each row contained in {DuckMap::Model#sitemap_model}.
 @return [NilClass]