Class: SimpleSitemap::Generators::Base
- Inherits:
-
Object
- Object
- SimpleSitemap::Generators::Base
- Defined in:
- lib/simple_sitemap/generators/base.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
writeonly
Sets the attribute config.
-
#hooks ⇒ Object
writeonly
Sets the attribute hooks.
Instance Method Summary collapse
-
#initialize(config, hooks) ⇒ Base
constructor
A new instance of Base.
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 |