Sha256: fd9758bbe0e381d0bb776e6f20b166d50b813c71b40d04ad46e162bdddb614a8

Contents?: true

Size: 234 Bytes

Versions: 2

Compression:

Stored size: 234 Bytes

Contents

require 'psd'
require 'psd_native/psd_native'

class PSD
  class Color
    instance_eval do
      alias :old_cmyk_to_rgb :cmyk_to_rgb
      def cmyk_to_rgb(*args)
        PSDNative::Color.cmyk_to_rgb(*args)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
psd_native-0.3.1 lib/psd_native/color.rb
psd_native-0.3.0 lib/psd_native/color.rb