diff --git a/lib/miro/dominant_colors.rb b/lib/miro/dominant_colors.rb index a665ec8..29fd8ae 100644 --- a/lib/miro/dominant_colors.rb +++ b/lib/miro/dominant_colors.rb @@ -10,7 +10,7 @@ def initialize(src_image_path, image_type = nil) end def to_hex - return histogram.map{ |item| item[1].html } if Miro.histogram? + return histogram.map { |item| item[1].html } if Miro.histogram? sorted_pixels.collect { |pixel| ChunkyPNG::Color.to_hex(pixel, false) } end