Module: RakePrettifier

Defined in:
lib/monsanto/rake_prettifier.rb

Instance Method Summary collapse

Instance Method Details

#big_notice(task) ⇒ Object



7
8
9
# File 'lib/monsanto/rake_prettifier.rb', line 7

def big_notice(task)
  puts green("==>") + " " + task.name
end

#inflect(method) ⇒ Object



3
4
5
# File 'lib/monsanto/rake_prettifier.rb', line 3

def inflect(method) 
	method.gsub("make", "making")
end

#medium_notice(task) ⇒ Object



11
12
13
# File 'lib/monsanto/rake_prettifier.rb', line 11

def medium_notice(task)
  puts green("  -->") + " " + task
end

#small_notice(subject) ⇒ Object



15
16
17
# File 'lib/monsanto/rake_prettifier.rb', line 15

def small_notice(subject)
  puts green("    ~-") + " Making " + subject
end