Class: Tojour::Utils
- Inherits:
-
Object
- Object
- Tojour::Utils
- Defined in:
- lib/tojour/utils.rb
Class Method Summary collapse
Class Method Details
.log(msg) ⇒ Object
5 6 7 |
# File 'lib/tojour/utils.rb', line 5 def self.log(msg) $stderr.puts(msg.colorize(:light_blue)) end |
.sh(cmd) ⇒ Object
9 10 11 12 |
# File 'lib/tojour/utils.rb', line 9 def self.sh(cmd) $stderr.puts(cmd.colorize(:yellow)) Kernel.system(cmd) end |