Rainbow::Color::Indexed
# File lib/rainbow/color.rb, line 66 def initialize(ground, name) unless color_names.include?(name) fail ArgumentError, "Unknown color name, valid names: #{color_names.join(', ')}" end super(ground, NAMES[name]) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.