There's no documentation for this item.
Source Code
# File webrick/log.rb, line 62 def format(arg) str = if arg.is_a?(Exception) "#{arg.class}: #{arg.message}\n\t" << arg.backtrace.join("\n\t") << "\n" elsif arg.respond_to?(:to_str) arg.to_str else arg.inspect end end
<code/>and<pre/>for code samples.