diff options
author | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-19 18:36:37 +0000 |
---|---|---|
committer | zzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-19 18:36:37 +0000 |
commit | ba84738d44384760faa32dd6525a6f0e1c9e9565 (patch) | |
tree | f9cd4e55aead8c8bd39ff68bc2e4fadade262562 /lib/optparse.rb | |
parent | d6d457378232a417064f44b654b8357ae757836d (diff) | |
download | ruby-ba84738d44384760faa32dd6525a6f0e1c9e9565.tar.gz |
* lib/optparse.rb: nodoc Object::Version and SPLAT_PROC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r-- | lib/optparse.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb index 8a904ff0d7..ef07cc2fca 100644 --- a/lib/optparse.rb +++ b/lib/optparse.rb @@ -1093,7 +1093,7 @@ XXX 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 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) |