Method: RGB.pick
- Defined in:
- lib/redgreenblue/os/mac.rb
.pick(default_color = new) ⇒ Object
On Mac OS, shows the color picker and creates an RGB::Color with the chosen color. Not available on other platforms.
If no default color is specified, the picker defaults to a middle grey.
75 76 77 |
# File 'lib/redgreenblue/os/mac.rb', line 75 def pick(default_color=new) Color.pick(default_color) end |