summaryrefslogtreecommitdiff
path: root/lib/e2mmap.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-21 05:45:47 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-08-21 05:45:47 +0000
commit4d9de3db0a9c84a8e0cb1564af348df4ed21dff2 (patch)
tree7b16bfaa77f57aac23d03da75dfcae603461e98b /lib/e2mmap.rb
parent3118c4c46e829e5d1dfcd57c45807b9ff64db8f0 (diff)
* 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.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb
index b75c431..47761bb 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