Commit cba854b359b0358f1ec97e9dbbb900da31eb56fc

Authored by Nicholas Erdenberger
1 parent 3ae1ad90
Exists in master

fixed broken palette setting method"

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/letter_avatar/configuration.rb
... ... @@ -21,7 +21,7 @@ module LetterAvatar
21 21 end
22 22  
23 23 def colors_palette=(v)
24   - @colors_palette = v if v.in?(Colors::PALETTES)
  24 + @colors_palette = v if Colors::PALETTES.include?(v)
25 25 end
26 26  
27 27 def weight
... ...