Class: Supertramp::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/supertramp/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

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

#coloursObject

Returns the value of attribute colours.



5
6
7
# File 'lib/supertramp/config.rb', line 5

def colours
  @colours
end

#shapeObject

Returns the value of attribute shape.



5
6
7
# File 'lib/supertramp/config.rb', line 5

def shape
  @shape
end

#uppercaseObject

Returns the value of attribute uppercase.



5
6
7
# File 'lib/supertramp/config.rb', line 5

def uppercase
  @uppercase
end