Module: Frameit::Color

Defined in:
frameit/lib/frameit/device_types.rb

Class Method Summary collapse

Class Method Details

.all_colorsObject



55
56
57
# File 'frameit/lib/frameit/device_types.rb', line 55

def self.all_colors
  Color.constants.map { |c| Color.const_get(c).upcase.gsub(' ', '_') }
end