Class: ColorCode::Distance::Config
- Inherits:
-
Object
- Object
- ColorCode::Distance::Config
- Defined in:
- lib/color_code/distance.rb
Instance Attribute Summary collapse
-
#colors ⇒ Object
Returns the value of attribute colors.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
32 33 34 |
# File 'lib/color_code/distance.rb', line 32 def initialize @colors = [] end |
Instance Attribute Details
#colors ⇒ Object
Returns the value of attribute colors.
30 31 32 |
# File 'lib/color_code/distance.rb', line 30 def colors @colors end |