Sha256: aa812099b9875c1c17e4abf0e3ceb962677edb09a2d8037d41dffa30a333fedc

Contents?: true

Size: 296 Bytes

Versions: 17

Compression:

Stored size: 296 Bytes

Contents

require 'rays/ext'


module Rays


  class ColorSpace

    include Comparable

    def <=>(o)
      type <=> o.type
    end

    def hash()
      type.hash
    end

    def eql?(o)
      self == o
    end

    def inspect()
      "#<#{self.class.name} #{to_s}>"
    end

  end# Color


end# Rays

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rays-0.3 lib/rays/color_space.rb
rays-0.2.1 lib/rays/color_space.rb
rays-0.2 lib/rays/color_space.rb
rays-0.1.49 lib/rays/color_space.rb
rays-0.1.48 lib/rays/color_space.rb
rays-0.1.47 lib/rays/color_space.rb
rays-0.1.46 lib/rays/color_space.rb
rays-0.1.45 lib/rays/color_space.rb
rays-0.1.44 lib/rays/color_space.rb
rays-0.1.43 lib/rays/color_space.rb
rays-0.1.42 lib/rays/color_space.rb
rays-0.1.40 lib/rays/color_space.rb
rays-0.1.39 lib/rays/color_space.rb
rays-0.1.38 lib/rays/color_space.rb
rays-0.1.37 lib/rays/color_space.rb
rays-0.1.36 lib/rays/color_space.rb
rays-0.1.35 lib/rays/color_space.rb