Rainbow::Color
# File lib/rainbow/color.rb, line 39 def initialize(ground, num) @ground = ground @num = num end
# File lib/rainbow/color.rb, line 44 def codes code = num + (ground == :foreground ? 30 : 40) [code] end
[Validate]
Generated with the Darkfish Rdoc Generator 2.