Sha256: ef2b38b51e782eb27f28f8e23a785b5de96fcae74442e8d54098646b0edf76af
Contents?: true
Size: 261 Bytes
Versions: 6
Compression:
Stored size: 261 Bytes
Contents
module Guard class Terminal class << self def clear cmd = Gem.win_platform? ? "cls" : "clear;" exit_code, _, stderr = ::Guard::Sheller.system(cmd) fail Errno::ENOENT, stderr unless exit_code == 0 end end end end
Version data entries
6 entries across 6 versions & 1 rubygems