Sha256: 1c7b6135129d75810f516193dc632d43d3496c29d7f478edb33e4ba45c2317d9

Contents?: true

Size: 206 Bytes

Versions: 14

Compression:

Stored size: 206 Bytes

Contents

module Squib
  # @api private
  module Args
    module ColorValidator

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

    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
squib-0.15.3 lib/squib/args/color_validator.rb
squib-0.15.0 lib/squib/args/color_validator.rb
squib-0.14.3.pre1 lib/squib/args/color_validator.rb
squib-0.14.1 lib/squib/args/color_validator.rb
squib-0.14.0 lib/squib/args/color_validator.rb
squib-0.14.beta1 lib/squib/args/color_validator.rb
squib-0.13.4 lib/squib/args/color_validator.rb
squib-0.13.3 lib/squib/args/color_validator.rb
squib-0.13.2 lib/squib/args/color_validator.rb
squib-0.13.1 lib/squib/args/color_validator.rb
squib-0.13.0 lib/squib/args/color_validator.rb
squib-0.12.0 lib/squib/args/color_validator.rb
squib-0.11.0 lib/squib/args/color_validator.rb
squib-0.10.0 lib/squib/args/color_validator.rb