public Method

Sys.log(msg)

Write a message to standard out if $verbose is enabled.

Source Code

# File rake/contrib/sys.rb, line 164
def log(msg)
  print "  " if $trace && $verbose
  puts msg if $verbose
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.