Module: Frameit::Color

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

Class Method Summary collapse

Class Method Details

.all_colorsObject



51
52
53
# File 'frameit/lib/frameit/device_types.rb', line 51

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