Sha256: cd6b194d4112ad4b6892d79c10ae1c212a94038b2fa323ccdd277232e87eaa49
Contents?: true
Size: 289 Bytes
Versions: 14
Compression:
Stored size: 289 Bytes
Contents
require "shellany/sheller" module Guard class Terminal class << self def clear cmd = Gem.win_platform? ? "cls" : "clear;" exit_code, _, stderr = Shellany::Sheller.system(cmd) fail Errno::ENOENT, stderr unless exit_code == 0 end end end end
Version data entries
14 entries across 14 versions & 4 rubygems