diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-04 06:57:10 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2011-05-04 06:57:10 +0200 |
commit | a4db205dfc6d4a73107e170cf7f3cef81ef760b6 (patch) | |
tree | 5902ca96eb10bd5fd45a81ae537b54e22f850aa2 /lib/efl | |
parent | 1cc242e79189a17ab147e11b9e9ba59e1c3a6c76 (diff) | |
download | ffi-efl-a4db205dfc6d4a73107e170cf7f3cef81ef760b6.zip ffi-efl-a4db205dfc6d4a73107e170cf7f3cef81ef760b6.tar.gz |
fix ClassHelper#method_missing to respond to to_ary
Diffstat (limited to 'lib/efl')
-rw-r--r-- | lib/efl/ffi.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efl/ffi.rb b/lib/efl/ffi.rb index 1512147..5e36bab 100644 --- a/lib/efl/ffi.rb +++ b/lib/efl/ffi.rb @@ -105,6 +105,7 @@ module Efl return self.send m, *args, &block end end + return [self.to_s+' ['+self.to_ptr.to_s+']'] if m_s=~/^to_ary$/ Kernel.raise NameError.new "#{self.class.name} is unable to resolve #{m} within #{self.class.proxy_list.inspect}" end end |