Project

General

Profile

Bug #6738 ยป lib_logger_rdoc_add_require_in_example.patch

patch 3 - stomar (Marcus Stollsteimer), 07/16/2012 12:53 PM

View differences:

logger.rb (Arbeitskopie)
53 53
#
54 54
# This creates a Logger to the standard output stream, with a level of +WARN+:
55 55
#
56
#   require 'logger'
57
#
56 58
#   log = Logger.new(STDOUT)
57 59
#   log.level = Logger::WARN
58 60
#