Project

General

Profile

Actions

Feature #12803

closed

Improve Logger.new option documentation

Added by spacemunkay (Jason Denney) over 7 years ago. Updated over 7 years ago.

Status:
Closed
Target version:
-
[ruby-core:77467]

Description

Logger.new: http://ruby-doc.org/stdlib-2.3.0/libdoc/logger/rdoc/Logger.html#new-method

From only looking at the docs, it's not obvious what the default value is for Logger.new shift_age or shift_size, nor what value disables the shift_age option. The only way to find out is to look at the code itself.

  • Show default value for shift_age
  • Show default value for shift_size

See: https://github.com/documenting-ruby/ruby/issues/64 and https://github.com/documenting-ruby/ruby/pull/65.


Files

Actions #1

Updated by hsbt (Hiroshi SHIBATA) over 7 years ago

  • Status changed from Open to Closed

Applied in changeset r56420.


Updated by hsbt (Hiroshi SHIBATA) over 7 years ago

  • Assignee set to hsbt (Hiroshi SHIBATA)
Actions

Also available in: Atom PDF

Like0
Like0Like0