1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/logger.rb: Use :call-seq: for method signature rdoc

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
zzak 2013-07-10 14:30:12 +00:00
parent fef0a7deaf
commit 30ce930f37
2 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,7 @@
Wed Jul 10 23:29:22 2013 Zachary Scott <zachary@zacharyscott.net>
* lib/logger.rb: Use :call-seq: for method signature rdoc
Wed Jul 10 23:23:18 2013 Zachary Scott <zachary@zacharyscott.net>
* lib/logger.rb (#add): Remove incorrect rdoc for return value

View file

@ -289,8 +289,7 @@ class Logger
def fatal?; @level <= FATAL; end
#
# === Synopsis
#
# :call-seq:
# Logger.new(name, shift_age = 7, shift_size = 1048576)
# Logger.new(name, shift_age = 'weekly')
#
@ -322,8 +321,7 @@ class Logger
end
#
# === Synopsis
#
# :call-seq:
# Logger#add(severity, message = nil, progname = nil) { ... }
#
# === Args
@ -713,8 +711,7 @@ private
attr_reader :appname
#
# == Synopsis
#
# :call-seq:
# Logger::Application.new(appname = '')
#
# == Args