Sha256: 1973b3acda1f49c903a064c86dc7fc826db203287ba65f2a744ae21d4d012d5e
Contents?: true
Size: 257 Bytes
Versions: 2
Compression:
Stored size: 257 Bytes
Contents
require "stringio" module Lapidarius class UI def initialize @io = StringIO.new end def say(statement) @io.puts statement end def out @io.string.strip end def clear! @io.reopen("") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lapidarius-2.1.1 | lib/lapidarius/ui.rb |
lapidarius-2.1.0 | lib/lapidarius/ui.rb |