summaryrefslogtreecommitdiff
path: root/lib/e2mmap.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-09 03:44:13 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-09-09 03:44:13 +0000
commita4a4e8b5a05f69cec077e72a43769e38ef205e23 (patch)
treed9d86c1762afea014726d3f456a5f4a7c3984e05 /lib/e2mmap.rb
parent277d1f50bb04b9c8f84311ba8de6568dd3347e36 (diff)
parent4785df5527497f03a08085fd2b799fe3d5da87c9 (diff)
add tag v2_4_0_preview2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v2_4_0_preview2@56122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/e2mmap.rb')
-rw-r--r--lib/e2mmap.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/e2mmap.rb b/lib/e2mmap.rb
index a9990b5ec5..bbff4f8c2e 100644
--- a/lib/e2mmap.rb
+++ b/lib/e2mmap.rb
@@ -128,7 +128,6 @@ module Exception2MessageMapper
# define exception named ``c'' with message m.
#
def E2MM.def_exception(k, n, m, s = StandardError)
- n = n.id2name if n.kind_of?(Fixnum)
e = Class.new(s)
E2MM.instance_eval{@MessageMap[[k, e]] = m}
k.const_set(n, e)