Sha256: 8a4714d5ceeb255e9d46da1e09f7823d3a163e5f014d130c6a04b9a18f776900
Contents?: true
Size: 332 Bytes
Versions: 50
Compression:
Stored size: 332 Bytes
Contents
module Kernel def bright_p message, color = '' puts "\e[1m#{color}#{message}\e[0m" end def bright_ask message, echo = true bright_p message, HighLine::GREEN HighLine.new.ask('') {|q| q.echo = echo} end def local_exec command bright_p command `#{command} 2>&1`.tap{|result| puts result} end end
Version data entries
50 entries across 50 versions & 1 rubygems