Sha256: 169f785b128cfd5b39a5792730fdb920c02775c6640fbd24ff30bc3a4fd275cd
Contents?: true
Size: 323 Bytes
Versions: 5
Compression:
Stored size: 323 Bytes
Contents
require 'pp' require './lib/ase' doc = ASE.new palette = ASE::Palette.new("Simple") palette.add 'White', ASE::Color.from_hex('#ffffff') palette.add 'Black', ASE::Color.from_hex('#000000') doc << palette puts "\nTO FILE" pp doc doc.to_file './output.ase' puts "\nFROM FILE" doc2 = ASE.from_file './output.ase' pp doc2
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ase-2.0.0 | examples/simple.rb |
ase-1.0.3 | examples/simple.rb |
ase-1.0.2 | examples/simple.rb |
ase-1.0.1 | examples/simple.rb |
ase-1.0.0 | examples/simple.rb |