diff options
| author | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-29 11:18:37 +0000 |
|---|---|---|
| committer | suke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-29 11:18:37 +0000 |
| commit | c6e7adf29313a6dadb865426c5e06e7002b9dc8f (patch) | |
| tree | dfbac80cb9ecc8a37aa1c90f18c8f3bd05805cde /test/win32ole | |
| parent | 37e1883da646e6721f3a66ed669b9953354cb6c9 (diff) | |
| download | ruby-c6e7adf29313a6dadb865426c5e06e7002b9dc8f.tar.gz ruby-c6e7adf29313a6dadb865426c5e06e7002b9dc8f.tar.xz ruby-c6e7adf29313a6dadb865426c5e06e7002b9dc8f.zip | |
* ext/win32ole/win32ole.c (fev_initialize): initialization
handler instance variable.
* test/win32ole/test_win32ole_typelib.rb (test_s_typelibs):
fix the warning of shadowing outer local variable.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/win32ole')
| -rw-r--r-- | test/win32ole/test_win32ole_typelib.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/win32ole/test_win32ole_typelib.rb b/test/win32ole/test_win32ole_typelib.rb index a1c389139..389a5e6fe 100644 --- a/test/win32ole/test_win32ole_typelib.rb +++ b/test/win32ole/test_win32ole_typelib.rb @@ -10,7 +10,7 @@ if defined?(WIN32OLE_TYPELIB) tlibs = WIN32OLE_TYPELIB.typelibs assert_instance_of(Array, tlibs) assert(tlibs.size > 0) - tlib = tlibs.find {|tlib| tlib.name == "Microsoft Shell Controls And Automation"} + tlib = tlibs.find {|t| t.name == "Microsoft Shell Controls And Automation"} assert(tlib) end |
