summaryrefslogtreecommitdiffstats
path: root/lib/efl/evas.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/efl/evas.rb')
-rw-r--r--lib/efl/evas.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efl/evas.rb b/lib/efl/evas.rb
index 2b4e61d..e54b07f 100644
--- a/lib/efl/evas.rb
+++ b/lib/efl/evas.rb
@@ -58,7 +58,7 @@ module Efl
when FFI::Pointer
FFI::AutoPointer.new o, method(:free)
else
- raise ArgumentError.new "#{o.class} valid argument"
+ raise ArgumentError.new "wrong argument #{o.class.name}"
end
)
yield self if block_given?
@@ -115,7 +115,7 @@ module Efl
when FFI::Pointer
FFI::AutoPointer.new o, method(:free)
else
- raise ArgumentError.new "#{o.class} valid argument"
+ raise ArgumentError.new "wrong argument #{o.class.name}"
end
)
yield self if block_given?