Class: RakeUtil
- Inherits:
-
Object
- Object
- RakeUtil
- Defined in:
- lib/tasks/rake_util.rb
Class Method Summary collapse
Class Method Details
.add_marker(msg) ⇒ Object
4 5 6 |
# File 'lib/tasks/rake_util.rb', line 4 def self.add_marker(msg) puts "#" * 30 + " #{msg} " + '#' * 30 end |
.execute(cmd) ⇒ Object
14 15 16 17 |
# File 'lib/tasks/rake_util.rb', line 14 def self.execute(cmd) puts cmd system cmd end |
.warning(msg) ⇒ Object
8 9 10 11 12 |
# File 'lib/tasks/rake_util.rb', line 8 def self.warning(msg) puts "#" * 50 puts msg puts "#" * 50 end |