Class: RakeUtil

Inherits:
Object
  • Object
show all
Defined in:
lib/tasks/rake_util.rb

Class Method Summary collapse

Class Method Details

.add_marker(msg) ⇒ Object



3
4
5
# File 'lib/tasks/rake_util.rb', line 3

def self.add_marker(msg)
  puts "#"*30 + " #{msg} " + '#'*30
end

.execute(cmd) ⇒ Object



13
14
15
16
# File 'lib/tasks/rake_util.rb', line 13

def self.execute(cmd)
  puts cmd
  system cmd
end

.warning(msg) ⇒ Object



7
8
9
10
11
# File 'lib/tasks/rake_util.rb', line 7

def self.warning(msg)
  puts "#"*50
  puts msg
  puts "#"*50
end