summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-hash-ext
diff options
context:
space:
mode:
authorINOUE Yasuyuki <[email protected]>2014-09-18 17:37:48 +0900
committerINOUE Yasuyuki <[email protected]>2014-09-18 17:37:48 +0900
commitd30aadf30626a16f8c83359fbb2205ee1e5fd464 (patch)
treee4bcedfc06bf35af99dc69b9887561a4a7a42c13 /mrbgems/mruby-hash-ext
parente66d86a5fb8ab79403ab47423f9a871fdc5b26fb (diff)
downloadmruby-d30aadf30626a16f8c83359fbb2205ee1e5fd464.tar.gz
mruby-d30aadf30626a16f8c83359fbb2205ee1e5fd464.zip
remove line number from raise message
Diffstat (limited to 'mrbgems/mruby-hash-ext')
-rw-r--r--mrbgems/mruby-hash-ext/mrblib/hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-hash-ext/mrblib/hash.rb b/mrbgems/mruby-hash-ext/mrblib/hash.rb
index 891aae27d..82847c39b 100644
--- a/mrbgems/mruby-hash-ext/mrblib/hash.rb
+++ b/mrbgems/mruby-hash-ext/mrblib/hash.rb
@@ -12,7 +12,7 @@ class Hash
elsif o.respond_to?(:to_a)
h = Hash.new
o.to_a.each do |i|
- raise ArgumentError, "wrong element type #{i.class} at #{__LINE__} (expected array)" unless i.respond_to?(:to_a)
+ raise ArgumentError, "wrong element type #{i.class} (expected array)" unless i.respond_to?(:to_a)
k, v = nil
case i.size
when 2