jfairbank / chroma

Ruby gem for color manipulation and palette generation
ISC License
234 stars 29 forks source link

Default to hex string if name is "unknown" #2

Closed jfairbank closed 9 years ago

jfairbank commented 9 years ago

This applies to inspect and to_s. It should still return <unknown> when calling to_name.

irb(main):002:0> 'red'.paint.brighten
=> <unknown>
jfairbank commented 9 years ago

Implemented by ce49d23.