diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-21 05:45:47 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-21 05:45:47 +0000 |
commit | 4d9de3db0a9c84a8e0cb1564af348df4ed21dff2 (patch) | |
tree | 7b16bfaa77f57aac23d03da75dfcae603461e98b /lib/e2mmap.rb | |
parent | 3118c4c46e829e5d1dfcd57c45807b9ff64db8f0 (diff) | |
download | ruby-4d9de3db0a9c84a8e0cb1564af348df4ed21dff2.tar.gz |
* lib/e2mmap.rb: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/e2mmap.rb')
-rw-r--r-- | lib/e2mmap.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb index b75c431f92..47761bb398 100644 --- a/lib/e2mmap.rb +++ b/lib/e2mmap.rb @@ -142,8 +142,6 @@ module Exception2MessageMapper def E2MM.Raise(klass = E2MM, err = nil, *rest) if form = e2mm_message(klass, err) b = $@.nil? ? caller(1) : $@ - #p $@ - #p __FILE__ b.shift if b[0] =~ /^#{Regexp.quote(__FILE__)}:/ raise err, sprintf(form, *rest), b else @@ -157,7 +155,6 @@ module Exception2MessageMapper def E2MM.e2mm_message(klass, exp) for c in klass.ancestors if mes = @MessageMap[[c,exp]] - #p mes m = klass.instance_eval('"' + mes + '"') return m end |