13 changed files with 365 additions and 405 deletions
@ -1,12 +1,7 @@
|
||||
module Squib |
||||
# @api private |
||||
module Args |
||||
module ColorValidator |
||||
module Squib::Args::ColorValidator |
||||
|
||||
def colorify(color, custom_colors = {}) |
||||
custom_colors[color.to_s] || color.to_s |
||||
end |
||||
|
||||
end |
||||
end |
||||
end |
||||
|
||||
Loading…
Reference in new issue