Module: Frameit::Color

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

Class Method Summary collapse

Class Method Details

.all_colorsObject



49
50
51
# File 'frameit/lib/frameit/device_types.rb', line 49

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