From 8ef5da3be1577bb5ae7f55b60cf9fedb10ecb85e Mon Sep 17 00:00:00 2001 From: matz Date: Thu, 16 Oct 2003 17:47:19 +0000 Subject: consistent parentheses in assignment RHS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/lib/dl/import.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/dl/lib') diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb index b71cae30ab..c0dfb5f705 100644 --- a/ext/dl/lib/dl/import.rb +++ b/ext/dl/lib/dl/import.rb @@ -79,7 +79,7 @@ module DL symty = rty + ty module_eval("module_function :#{func}") - sym = module_eval [ + sym = module_eval([ "DL::callback(\"#{symty}\"){|*args|", " sym,rdec,enc,dec = @SYM['#{func}']", " args = enc.call(args) if enc", @@ -90,7 +90,7 @@ module DL " @args = rs", " @retval", "}", - ].join("\n") + ].join("\n")) @SYM[func] = [sym,rdec,enc,dec] -- cgit v1.2.3