Class: Inky::Configuration
- Inherits:
-
Object
- Object
- Inky::Configuration
- Defined in:
- lib/inky/configuration.rb
Instance Attribute Summary collapse
-
#column_count ⇒ Object
Returns the value of attribute column_count.
-
#components ⇒ Object
Returns the value of attribute components.
-
#template_engine ⇒ Object
Returns the value of attribute template_engine.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_count ⇒ Object
Returns the value of attribute column_count.
28 29 30 |
# File 'lib/inky/configuration.rb', line 28 def column_count @column_count end |
#components ⇒ Object
Returns the value of attribute components.
28 29 30 |
# File 'lib/inky/configuration.rb', line 28 def components @components end |
#template_engine ⇒ Object
Returns the value of attribute template_engine.
28 29 30 |
# File 'lib/inky/configuration.rb', line 28 def template_engine @template_engine end |