summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 d1a709325..549bca0a8 100644
--- a/mrbgems/mruby-hash-ext/mrblib/hash.rb
+++ b/mrbgems/mruby-hash-ext/mrblib/hash.rb
@@ -165,7 +165,7 @@ class Hash
elsif none != NONE
none
else
- raise KeyError, "Key not found: #{key}"
+ raise KeyError, "Key not found: #{key.inspect}"
end
else
self[key]