Class: DevSuite::Utils::Color::Palette::Base

Inherits:
DevSuite::Utils::Construct::Component::Base show all
Defined in:
lib/dev_suite/utils/color/palette/base.rb

Direct Known Subclasses

Default

Instance Method Summary collapse

Methods inherited from DevSuite::Utils::Construct::Component::Base

component_key

Instance Method Details

#colorsObject



8
9
10
11
12
13
14
# File 'lib/dev_suite/utils/color/palette/base.rb', line 8

def colors
  unless self.class.const_defined?(:COLORS)
    raise NotImplementedError, "#{self.class} must define COLORS constant"
  end

  self.class::COLORS
end