ruby-changes:28784
From: zzak <ko1@a...>
Date: Mon, 20 May 2013 03:36:46 +0900 (JST)
Subject: [ruby-changes:28784] zzak:r40836 (trunk): * lib/optparse.rb: nodoc Object::Version and SPLAT_PROC
zzak 2013-05-20 03:36:37 +0900 (Mon, 20 May 2013) New Revision: 40836 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40836 Log: * lib/optparse.rb: nodoc Object::Version and SPLAT_PROC Modified files: trunk/ChangeLog trunk/lib/optparse.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 40835) +++ ChangeLog (revision 40836) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Mon May 20 03:35:26 2013 Zachary Scott <zachary@z...> + + * lib/optparse.rb: nodoc Object::Version and SPLAT_PROC + Mon May 20 03:16:52 2013 Zachary Scott <zachary@z...> * lib/pp.rb: Document PP::ObjectMixin [Fixes GH-312] Index: lib/optparse.rb =================================================================== --- lib/optparse.rb (revision 40835) +++ lib/optparse.rb (revision 40836) @@ -1093,7 +1093,7 @@ XXX https://github.com/ruby/ruby/blob/trunk/lib/optparse.rb#L1093 end private :notwice - SPLAT_PROC = proc {|*a| a.length <= 1 ? a.first : a} + SPLAT_PROC = proc {|*a| a.length <= 1 ? a.first : a} # :nodoc: # # Creates an OptionParser::Switch from the parameters. The parsed argument # value is passed to the given block, where it can be processed. @@ -1936,7 +1936,7 @@ end https://github.com/ruby/ruby/blob/trunk/lib/optparse.rb#L1936 ARGV.extend(OptionParser::Arguable) if $0 == __FILE__ - Version = OptionParser::Version + Version = OptionParser::Version # :nodoc: ARGV.options {|q| q.parse!.empty? or print "what's #{ARGV.join(' ')}?\n" } or abort(ARGV.options.to_s) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/