Module: Squib::Args::ColorValidator Private
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
Instance Method Details
#colorify(color, custom_colors = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
6 7 8 |
# File 'lib/squib/args/color_validator.rb', line 6 def colorify(color, custom_colors = {}) custom_colors[color.to_s] || color.to_s end |