Sha256: f80cda5d5f72f4bdd607def62adbff7eabc5c5adc97cf5dc7913d57cfcad94fc

Contents?: true

Size: 199 Bytes

Versions: 1

Compression:

Stored size: 199 Bytes

Contents

# Nice little wrapper that lets us easily perform some functions on a
# given color.
class ASE
  class Color
    def self.factory(mode, *args)
      const_get(mode.strip).new(*args)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ase-2.0.0 lib/ase/color.rb