* lib/logger.rb (class Logger): Document Logger#datetime_format.

Patch by Sergio Gil Pérez de la Manga.  [Ruby 1.9 - Bug #4678]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2011-05-12 20:45:45 +00:00
Родитель e2b3183fc2
Коммит f154226900
2 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -1,3 +1,24 @@
Fri May 13 05:44:19 2011 Eric Hodel <drbrain@segment7.net>
* lib/logger.rb (class Logger): Document Logger#datetime_format.
Patch by Sergio Gil Pérez de la Manga. [Ruby 1.9 - Bug #4678]
Fri May 13 05:39:11 2011 Eric Hodel <drbrain@segment7.net>
* re.c (Init_Regexp): Document option constants. Patch by Vincent
Batts. [Ruby 1.9 - Bug #4677]
* lib/uri/common.rb (module URI): Documentation for URI. Patch by
Vincent Batts. [Ruby 1.9- Bug #4677]
* lib/uri/ftp.rb (module URI): ditto
* lib/uri/generic.rb (module URI): ditto
* lib/uri/http.rb (module URI): ditto
* lib/uri/https.rb (module URI): ditto
* lib/uri/ldap.rb (module URI): ditto
* lib/uri/ldaps.rb (module URI): ditto
* lib/uri/mailto.rb (module URI): ditto
* process.c (Init_process): Document Process constants. Patch by
Vincent Batts. [Ruby 1.9- Bug #4677]
Fri May 13 05:16:38 2011 Eric Hodel <drbrain@segment7.net>
* lib/rss/atom.rb (module RSS): Document URIs. Patch by Mark Turner.

Просмотреть файл

@ -224,6 +224,7 @@ class Logger
@default_formatter.datetime_format = datetime_format
end
# Returns the date format (string passed to +strftime+) being used (it's set using datetime_format=)
def datetime_format
@default_formatter.datetime_format
end