aboutsummaryrefslogtreecommitdiffstats
path: root/lib/forwardable.rb
diff options
context:
space:
mode:
authorkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-03 13:41:57 +0000
committerkeiju <keiju@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-11-03 13:41:57 +0000
commitedaf0477a5b58460dab76a30288578f42b5db3c8 (patch)
treec1a7b1b35533029b472c1db81609c34b596cba42 /lib/forwardable.rb
parent7ef9fbb35fe2bc6efebefaa3bf656133efd4a939 (diff)
downloadruby-edaf0477a5b58460dab76a30288578f42b5db3c8.tar.gz
* 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/trunk@1812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/forwardable.rb')
-rw-r--r--lib/forwardable.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/forwardable.rb b/lib/forwardable.rb
index 7f57f77f53..b845f76ec4 100644
--- a/lib/forwardable.rb
+++ b/lib/forwardable.rb
@@ -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