Sha256: 7be9dad59e56f3e7a15ffcd331f38463f04d8823fe75549409beb2f3a66e139c
Contents?: true
Size: 229 Bytes
Versions: 1
Compression:
Stored size: 229 Bytes
Contents
module ColorConversion class Color extend Forwardable def_delegators :@converter, :rgb, :hex, :hsl, :hsv, :hsb, :cymk, :alpha def initialize(color) @converter = ColorConverter.factory(color) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
color_conversion-0.1.0 | lib/color_conversion/color.rb |