Method: RDoc::Generator::Shomen#debug_msg
- Defined in:
- lib/shomen/rdoc.rb
#debug_msg(msg) ⇒ Object (protected)
Output progress information if rdoc debugging is enabled
507 508 509 510 511 512 513 514 515 |
# File 'lib/shomen/rdoc.rb', line 507 def debug_msg(msg) return unless $DEBUG_RDOC case msg[-1,1] when '.' then tab = "= " when ':' then tab = "== " else tab = "* " end $stderr.puts(tab + msg) end |