Class: Spooky::EngineConfiguration
- Inherits:
-
Object
- Object
- Spooky::EngineConfiguration
- Defined in:
- lib/spooky/engine_configuration.rb
Instance Attribute Summary collapse
-
#icon ⇒ Object
Returns the value of attribute icon.
-
#logo ⇒ Object
Returns the value of attribute logo.
-
#rights ⇒ Object
Returns the value of attribute rights.
-
#subtitle ⇒ Object
Optional values used in Atom feed.
- #title ⇒ Object
Instance Method Summary collapse
Instance Attribute Details
#icon ⇒ Object
Returns the value of attribute icon.
10 11 12 |
# File 'lib/spooky/engine_configuration.rb', line 10 def icon @icon end |
#logo ⇒ Object
Returns the value of attribute logo.
11 12 13 |
# File 'lib/spooky/engine_configuration.rb', line 11 def logo @logo end |
#rights ⇒ Object
Returns the value of attribute rights.
12 13 14 |
# File 'lib/spooky/engine_configuration.rb', line 12 def rights @rights end |
#subtitle ⇒ Object
Optional values used in Atom feed. Defaults to nil
9 10 11 |
# File 'lib/spooky/engine_configuration.rb', line 9 def subtitle @subtitle end |
#title ⇒ Object
14 15 16 |
# File 'lib/spooky/engine_configuration.rb', line 14 def title self.title = "#{Rails.application.name.titleize} Blog" end |
Instance Method Details
#config {|_self| ... } ⇒ Object
18 19 20 |
# File 'lib/spooky/engine_configuration.rb', line 18 def config yield self if block_given? end |