Method: Pixelart::Image#rainbow
- Defined in:
- lib/pixelart/stripes.rb
#rainbow ⇒ Object Also known as: pride
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
# File 'lib/pixelart/stripes.rb', line 97 def rainbow ## # the most common variant consists of six stripes: # red, orange, yellow, green, blue, and violet. # The flag is typically flown horizontally, # with the red stripe on top, as it would be in a natural rainbow # # see https://en.wikipedia.org/wiki/Rainbow_flag_(LGBT) stripes( RAINBOW_RED, RAINBOW_ORANGE, RAINBOW_YELLOW, RAINBOW_GREEN, RAINBOW_BLUE, RAINBOW_VIOLET ) end |