зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e2b3183fc2
Коммит
f154226900
21
ChangeLog
21
ChangeLog
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче