Class: SimpleSitemap::Generators::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_sitemap/generators/base.rb

Direct Known Subclasses

Index, Sitemap

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config, hooks) ⇒ Base



12
13
14
15
# File 'lib/simple_sitemap/generators/base.rb', line 12

def initialize(config, hooks)
  @config = config
  @hooks = hooks
end

Instance Attribute Details

#config=(value) ⇒ Object (writeonly)

Sets the attribute config



10
11
12
# File 'lib/simple_sitemap/generators/base.rb', line 10

def config=(value)
  @config = value
end

#hooks=(value) ⇒ Object (writeonly)

Sets the attribute hooks



10
11
12
# File 'lib/simple_sitemap/generators/base.rb', line 10

def hooks=(value)
  @hooks = value
end