Class: SitemapArray

Inherits:
Array
  • Object
show all
Defined in:
app/models/sitemap.rb

Instance Method Summary collapse

Instance Method Details

#to_jsonObject



177
178
179
# File 'app/models/sitemap.rb', line 177

def to_json
  "[" + map(&:to_json).join(",") + "]"
end