* 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
Родитель fef0a7deaf
Коммит 30ce930f37
2 изменённых файлов: 7 добавлений и 6 удалений

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

@ -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> Wed Jul 10 23:23:18 2013 Zachary Scott <zachary@zacharyscott.net>
* lib/logger.rb (#add): Remove incorrect rdoc for return value * lib/logger.rb (#add): Remove incorrect rdoc for return value

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

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