Method: PM::PatchMaster#debug

Defined in:
lib/patchmaster/patchmaster.rb

#debug(str) ⇒ Object

Output str to @debug_file or $stderr.



173
174
175
176
177
178
# File 'lib/patchmaster/patchmaster.rb', line 173

def debug(str)
  return unless $DEBUG
  f = @debug_file || $stderr
  f.puts str
  f.flush
end