Sha256: 99d35433055bc8dd163574710bd72ecd1fddbd8cb58b53a1c764054d4ebd3669

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

require 'color'

# Make colors serializable.
module Color
  class RGB
    def to_s
      self.html.to_s
    end

    def to_json(*args)
      self.to_s
    end

    def to_xml(*args)
      self.to_s
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
open_conference_ware-1.0.0.pre4 lib/ext/color_rgb_serializer_fix.rb
open_conference_ware-1.0.0.pre3 lib/ext/color_rgb_serializer_fix.rb
open_conference_ware-1.0.0.pre2 lib/ext/color_rgb_serializer_fix.rb
open_conference_ware-1.0.0.pre1 lib/ext/color_rgb_serializer_fix.rb