Class: Supertramp::Config
- Inherits:
-
Object
- Object
- Supertramp::Config
- Defined in:
- lib/supertramp/config.rb
Instance Attribute Summary collapse
-
#colours ⇒ Object
Returns the value of attribute colours.
-
#shape ⇒ Object
Returns the value of attribute shape.
-
#uppercase ⇒ Object
Returns the value of attribute uppercase.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
8 9 10 11 12 |
# File 'lib/supertramp/config.rb', line 8 def initialize @colours = %w[#B91C1C #B45309 #047857 #1D4ED8 #6D28D9] @uppercase = true @shape = Avatar::SQUARE end |
Instance Attribute Details
#colours ⇒ Object
Returns the value of attribute colours.
5 6 7 |
# File 'lib/supertramp/config.rb', line 5 def colours @colours end |
#shape ⇒ Object
Returns the value of attribute shape.
5 6 7 |
# File 'lib/supertramp/config.rb', line 5 def shape @shape end |
#uppercase ⇒ Object
Returns the value of attribute uppercase.
5 6 7 |
# File 'lib/supertramp/config.rb', line 5 def uppercase @uppercase end |