diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-16 17:47:19 +0000 |
commit | 8ef5da3be1577bb5ae7f55b60cf9fedb10ecb85e (patch) | |
tree | a700e3fe92165180b04451746f9c4fda4f038289 /ext/tk/lib/tk.rb | |
parent | 3ec0bc3828794a6ef6293b53b403af8bc2362934 (diff) | |
download | ruby-8ef5da3be1577bb5ae7f55b60cf9fedb10ecb85e.tar.gz |
consistent parentheses in assignment RHS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r-- | ext/tk/lib/tk.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index 18f398f2aa..4cb11363e1 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -1388,7 +1388,7 @@ module Tk end end def group(*args) - w = tk_call 'wm', 'group', path, *args + w = tk_call('wm', 'group', path, *args) if args.size == 0 window(w) else @@ -3303,7 +3303,7 @@ module TkOptionDB proc_str = '{' + proc_str + '}' unless /\A\{.*\}\Z/ =~ proc_str proc_str = __closed_block_check__(proc_str) proc_str = __check_proc_string__(proc_str) - res_proc = eval 'Proc.new' + proc_str + res_proc = eval('Proc.new' + proc_str) self::METHOD_TBL[id] = res_proc end proc{ |