summaryrefslogtreecommitdiffstats
path: root/lib/efl/eina_hash.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-04-29 22:42:30 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-04-29 22:42:30 +0200
commit89878a056bc5c46e54a8df43f6f2969e05f8045c (patch)
tree195d5431b57d588bc0e99772aea53455f3cbad22 /lib/efl/eina_hash.rb
parent19b9118fccb1766fa55fd920853c7e2767816969 (diff)
downloadffi-efl-89878a056bc5c46e54a8df43f6f2969e05f8045c.zip
ffi-efl-89878a056bc5c46e54a8df43f6f2969e05f8045c.tar.gz
fix ArgumentError in various constructors
Diffstat (limited to 'lib/efl/eina_hash.rb')
-rw-r--r--lib/efl/eina_hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efl/eina_hash.rb b/lib/efl/eina_hash.rb
index dcbafa2..f9435c7 100644
--- a/lib/efl/eina_hash.rb
+++ b/lib/efl/eina_hash.rb
@@ -36,7 +36,7 @@ module Efl
o.each do |k,v| Efl::EinaHash.eina_hash_add ptr, k, v end
ptr
else
- raise ArgumentError.new "#{ptr.class} valid argument"
+ raise ArgumentError.new "wrong argument #{o.class.name}"
end
)
end