Class: Priscilla::Configuration
- Inherits:
-
Object
- Object
- Priscilla::Configuration
- Defined in:
- lib/priscilla/configuration.rb
Constant Summary collapse
- DEFAULT_WIDTH =
80- DEFAULT_DECORATOR =
"⚡ ".on_blue
Instance Attribute Summary collapse
-
#decorator ⇒ Object
Returns the value of attribute decorator.
-
#width ⇒ Object
Returns the value of attribute width.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
16 17 18 19 |
# File 'lib/priscilla/configuration.rb', line 16 def initialize @width = DEFAULT_WIDTH @decorator = DEFAULT_DECORATOR end |
Instance Attribute Details
#decorator ⇒ Object
Returns the value of attribute decorator.
14 15 16 |
# File 'lib/priscilla/configuration.rb', line 14 def decorator @decorator end |
#width ⇒ Object
Returns the value of attribute width.
14 15 16 |
# File 'lib/priscilla/configuration.rb', line 14 def width @width end |