mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* numeric.c (num_to_int): default to_int implementaion for every
numeric class. * re.c (rb_reg_quote): initial part of the string was never copied to the quoted string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
448610abec
commit
89dbf99bac
7 changed files with 31 additions and 19 deletions
|
@ -104,7 +104,7 @@ module IRB
|
|||
|
||||
def EXCB.install_extend_commands
|
||||
for args in @EXTEND_COMMANDS
|
||||
def_extend_command *args
|
||||
def_extend_command(*args)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -193,7 +193,7 @@ module IRB
|
|||
|
||||
def CE.install_extend_commands
|
||||
for args in @EXTEND_COMMANDS
|
||||
def_extend_command *args
|
||||
def_extend_command(*args)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue