diff options
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{ |