Sha256: e73158e4901aea71b8540c41c2083bb3fa0c35efe2db43e643814a9079cf373a

Contents?: true

Size: 133 Bytes

Versions: 3

Compression:

Stored size: 133 Bytes

Contents

module Squib::Args::ColorValidator

  def colorify(color, custom_colors = {})
    custom_colors[color.to_s] || color.to_s
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
squib-0.19.0 lib/squib/args/color_validator.rb
squib-0.19.0b lib/squib/args/color_validator.rb
squib-0.19.0a lib/squib/args/color_validator.rb