lib/rothko.rb
def draw_line(pixels)
      pix_line = ""
      pixels.each do |pixel|
        pix_line = pix_line + "  ".colorize(:background => find_color(pixel))
      end
      puts pix_line
    end
def draw_line(pixels)
      pix_line = ""
      pixels.each do |pixel|
        pix_line = pix_line + "  ".colorize(:background => find_color(pixel))
      end
      puts pix_line
    end
def draw_line ( pixels ) pix_line = "" pixels . each do | pixel | pix_line = pix_line + "  " . colorize ( :background => find_color ( pixel ) ) end puts pix_line end
Takes in a string of colors and puts them out as background colored spaces
 For example, "rGK" creates a light_red square, a green square, and a black square
Takes in a string of colors and puts them out as background colored spaces For example rGK creates a light_red square a green square and a black square