From 06df4049ed811c50062fe4a3a8c342cb2caf2a27 Mon Sep 17 00:00:00 2001 From: suke Date: Mon, 29 Sep 2008 11:18:37 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@19621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/win32ole/test_win32ole_typelib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/win32ole/test_win32ole_typelib.rb b/test/win32ole/test_win32ole_typelib.rb index a1c3891396..389a5e6fea 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 -- cgit v1.2.3