Class: DevSuite::Utils::Color::Palette::Base
- Inherits:
-
DevSuite::Utils::Construct::Component::Base
- Object
- DevSuite::Utils::Construct::Component::Base
- DevSuite::Utils::Color::Palette::Base
- Defined in:
- lib/dev_suite/utils/color/palette/base.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from DevSuite::Utils::Construct::Component::Base
Instance Method Details
#colors ⇒ Object
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 |