Sha256: 612188dc0551167d7417cca6e307ad28bfd4009f25d9d4c27b8509cecb2ade11

Contents?: true

Size: 179 Bytes

Versions: 5

Compression:

Stored size: 179 Bytes

Contents

module Stowaway
  class Status
    RESET = "\r\e[0K"
    def out(msg)
      print "#{RESET}#{msg}"
    end

    def flush
      print RESET 
      $stdout.flush
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stowaway-0.1.10 lib/stowaway/status.rb
stowaway-0.1.9 lib/stowaway/status.rb
stowaway-0.1.8 lib/stowaway/status.rb
stowaway-0.1.6 lib/stowaway/status.rb
stowaway-0.1.5 lib/stowaway/status.rb