Class: FreightColor
- Inherits:
-
Object
- Object
- FreightColor
- Defined in:
- lib/freightrain/freight_color.rb
Constant Summary collapse
- @@colors =
{}
Class Method Summary collapse
Class Method Details
.[](color_symbol) ⇒ Object
9 10 11 |
# File 'lib/freightrain/freight_color.rb', line 9 def self.[](color_symbol) return @@colors[color_symbol] end |