mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* matrix.rb (Matrix#column_vectors, Matrix#row_vectors): ditto bug.
this bug report and fix by tsutomu@nucba.ac.jp. * forwardable.rb: change raise to Kernel::raise git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
26018bbfa7
commit
566c793d9b
3 changed files with 12 additions and 6 deletions
|
@ -51,7 +51,7 @@ module Forwardable
|
|||
#{accessor}.__send__(:#{method}, *args, &block)
|
||||
rescue Exception
|
||||
$@.delete_if{|s| /^\\(__FORWARDABLE__\\):/ =~ s} unless Forwardable::debug
|
||||
raise
|
||||
Kernel::raise
|
||||
end
|
||||
end
|
||||
EOS
|
||||
|
@ -79,7 +79,7 @@ module SingleForwardable
|
|||
#{accessor}.__send__(:#{method}, *args,&block)
|
||||
rescue Exception
|
||||
$@.delete_if{|s| /^\\(__FORWARDABLE__\\):/ =~ s} unless Forwardable::debug
|
||||
raise
|
||||
Kernel::raise
|
||||
end
|
||||
end
|
||||
EOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue