Sha256: 37d5a7258473c79bb5f4ed077b06283b3477e35bc32b1484e2f4c0dbf20f30b3

Contents?: true

Size: 326 Bytes

Versions: 9

Compression:

Stored size: 326 Bytes

Contents

# -*- coding: utf-8 -*-


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

9 entries across 9 versions & 1 rubygems

Version Path
rays-0.1.21 lib/rays/color_space.rb
rays-0.1.20 lib/rays/color_space.rb
rays-0.1.19 lib/rays/color_space.rb
rays-0.1.18 lib/rays/color_space.rb
rays-0.1.17 lib/rays/color_space.rb
rays-0.1.16 lib/rays/color_space.rb
rays-0.1.15 lib/rays/color_space.rb
rays-0.1.14 lib/rays/color_space.rb
rays-0.1.13 lib/rays/color_space.rb