Sha256: 5cbbb2274a52ce7748bfbfeaf7ccc0c054a3d5447291f498feb4802d7821e046
Contents?: true
Size: 341 Bytes
Versions: 4
Compression:
Stored size: 341 Bytes
Contents
module Hershey class Page def initialize(width: 400, heigth: 400) @text = "<g>" @close = false end def <<(word) end alias_method :write, :<< def write_out close @text end def close @text << "</g>" unless @close end end class PageFullError < StandardError end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hershey-0.0.6 | lib/hershey/page.rb |
hershey-0.0.5 | lib/hershey/page.rb |
hershey-0.0.3 | lib/hershey/page.rb |
hershey-0.0.1 | lib/hershey/page.rb |