mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/optparse.rb: fix to override conv proc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b338d1d6a4
commit
2dd91facca
3 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu Apr 19 17:46:36 2007 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* lib/optparse.rb: fix to override conv proc.
|
||||
|
||||
Wed Apr 18 10:41:21 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* util.c (ruby_strtod): exponent is radix 10. [ruby-talk:248272]
|
||||
|
|
|
@ -1089,7 +1089,7 @@ class OptionParser
|
|||
when CompletingHash
|
||||
when nil
|
||||
pattern = CompletingHash.new
|
||||
conv ||= pattern.method(:convert).to_proc if pattern.respond_to?(:convert)
|
||||
conv = pattern.method(:convert).to_proc if pattern.respond_to?(:convert)
|
||||
else
|
||||
raise ArgumentError, "argument pattern given twice"
|
||||
end
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#define RUBY_VERSION "1.9.0"
|
||||
#define RUBY_RELEASE_DATE "2007-04-18"
|
||||
#define RUBY_RELEASE_DATE "2007-04-19"
|
||||
#define RUBY_VERSION_CODE 190
|
||||
#define RUBY_RELEASE_CODE 20070418
|
||||
#define RUBY_RELEASE_CODE 20070419
|
||||
#define RUBY_PATCHLEVEL 0
|
||||
|
||||
#define RUBY_VERSION_MAJOR 1
|
||||
|
@ -9,7 +9,7 @@
|
|||
#define RUBY_VERSION_TEENY 0
|
||||
#define RUBY_RELEASE_YEAR 2007
|
||||
#define RUBY_RELEASE_MONTH 4
|
||||
#define RUBY_RELEASE_DAY 18
|
||||
#define RUBY_RELEASE_DAY 19
|
||||
|
||||
RUBY_EXTERN const char ruby_version[];
|
||||
RUBY_EXTERN const char ruby_release_date[];
|
||||
|
|
Loading…
Reference in a new issue