Class: MassiveSitemap::Writer::File

Inherits:
Base
  • Object
show all
Defined in:
lib/massive_sitemap/writer/file.rb

Direct Known Subclasses

GzipFile

Defined Under Namespace

Classes: FileExistsException

Constant Summary collapse

OPTS =
Base::OPTS.merge(
  :root            => '.',
  :force_overwrite => false,
  :filename        => "sitemap.xml",
)

Instance Method Summary collapse

Methods inherited from Base

#close!, #current, #each, #init!, #inited?, #print, #set

Constructor Details

#initialize(options = {}) ⇒ File

Returns a new instance of File.



21
22
23
24
# File 'lib/massive_sitemap/writer/file.rb', line 21

def initialize(options = {})
  super
  init_stream_ids
end