ruby-changes:29850
From: zzak <ko1@a...>
Date: Wed, 10 Jul 2013 23:30:22 +0900 (JST)
Subject: [ruby-changes:29850] zzak:r41902 (trunk): * lib/logger.rb: Use :call-seq: for method signature rdoc
zzak 2013-07-10 23:30:12 +0900 (Wed, 10 Jul 2013) New Revision: 41902 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=41902 Log: * lib/logger.rb: Use :call-seq: for method signature rdoc Modified files: trunk/ChangeLog trunk/lib/logger.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 41901) +++ ChangeLog (revision 41902) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Jul 10 23:29:22 2013 Zachary Scott <zachary@z...> + + * lib/logger.rb: Use :call-seq: for method signature rdoc + Wed Jul 10 23:23:18 2013 Zachary Scott <zachary@z...> * lib/logger.rb (#add): Remove incorrect rdoc for return value Index: lib/logger.rb =================================================================== --- lib/logger.rb (revision 41901) +++ lib/logger.rb (revision 41902) @@ -289,8 +289,7 @@ class Logger https://github.com/ruby/ruby/blob/trunk/lib/logger.rb#L289 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 https://github.com/ruby/ruby/blob/trunk/lib/logger.rb#L321 end # - # === Synopsis - # + # :call-seq: # Logger#add(severity, message = nil, progname = nil) { ... } # # === Args @@ -713,8 +711,7 @@ private https://github.com/ruby/ruby/blob/trunk/lib/logger.rb#L711 attr_reader :appname # - # == Synopsis - # + # :call-seq: # Logger::Application.new(appname = '') # # == Args -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/