Class: Inky::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/inky/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



30
31
32
33
34
# File 'lib/inky/configuration.rb', line 30

def initialize
  @template_engine = :erb
  @column_count = 12
  @components = {}
end

Instance Attribute Details

#column_countObject

Returns the value of attribute column_count.



28
29
30
# File 'lib/inky/configuration.rb', line 28

def column_count
  @column_count
end

#componentsObject

Returns the value of attribute components.



28
29
30
# File 'lib/inky/configuration.rb', line 28

def components
  @components
end

#template_engineObject

Returns the value of attribute template_engine.



28
29
30
# File 'lib/inky/configuration.rb', line 28

def template_engine
  @template_engine
end