Class: Spooky::EngineConfiguration

Inherits:
Object
  • Object
show all
Defined in:
lib/spooky/engine_configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#iconObject

Returns the value of attribute icon.



10
11
12
# File 'lib/spooky/engine_configuration.rb', line 10

def icon
  @icon
end

#logoObject

Returns the value of attribute logo.



11
12
13
# File 'lib/spooky/engine_configuration.rb', line 11

def 
  
end

#rightsObject

Returns the value of attribute rights.



12
13
14
# File 'lib/spooky/engine_configuration.rb', line 12

def rights
  @rights
end

#subtitleObject

Optional values used in Atom feed. Defaults to nil



9
10
11
# File 'lib/spooky/engine_configuration.rb', line 9

def subtitle
  @subtitle
end

#titleObject



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

Yields:

  • (_self)

Yield Parameters:



18
19
20
# File 'lib/spooky/engine_configuration.rb', line 18

def config
  yield self if block_given?
end