Skip to content

Commit

Permalink
no need to use the accessor
Browse files Browse the repository at this point in the history
was only used for tests.
  • Loading branch information
nadavshatz committed Oct 5, 2014
1 parent 58b97f1 commit 6e9e2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paleta/color.rb
Expand Up @@ -181,7 +181,7 @@ def desaturate
# Desaturate the receiver
# @return [Color] self
def desaturate!
self.saturation = 0
@saturation = 0
update_rgb
update_hex
self
Expand Down

0 comments on commit 6e9e2c6

Please sign in to comment.