Module: Terminal
- Defined in:
- lib/rakeoff/support/terminal.rb
Instance Method Summary collapse
Instance Method Details
#print_heading(message) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/rakeoff/support/terminal.rb', line 10 def print_heading() return if .nil? or .empty? is_build_agent = !ENV['teamcity.version'].nil? if(is_build_agent) puts "##teamcity[progressMessage '#{}']" else puts '' puts .cyan puts ("#" * (.length+2)).cyan end end |