From a7c382223ceee47e2d5a2a7ef3e495e1259b9540 Mon Sep 17 00:00:00 2001 From: nagai Date: Wed, 3 Dec 2003 04:55:07 +0000 Subject: * 'format'==>'Kernel.format' (avoid override trouble) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/tk/lib/tkdialog.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'ext/tk/lib/tkdialog.rb') diff --git a/ext/tk/lib/tkdialog.rb b/ext/tk/lib/tkdialog.rb index 8ac598c605..d5c13dca1a 100644 --- a/ext/tk/lib/tkdialog.rb +++ b/ext/tk/lib/tkdialog.rb @@ -18,8 +18,8 @@ class TkDialog2 < TkWindow "to the dialog button#{i}. It was removed.\n") end c.delete('command'); c.delete(:command) - @config << format("%s.button%s configure %s; ", - @path, i, hash_kv(c).join(' ')) + @config << Kernel.format("%s.button%s configure %s; ", + @path, i, hash_kv(c).join(' ')) } case configs when Proc @@ -114,23 +114,23 @@ class TkDialog2 < TkWindow } if @message_config.kind_of? Hash - @config << format("%s.msg configure %s;", - @path, hash_kv(@message_config).join(' ')) + @config << Kernel.format("%s.msg configure %s;", + @path, hash_kv(@message_config).join(' ')) end if @msgframe_config.kind_of? Hash - @config << format("%s.top configure %s;", - @path, hash_kv(@msgframe_config).join(' ')) + @config << Kernel.format("%s.top configure %s;", + @path, hash_kv(@msgframe_config).join(' ')) end if @btnframe_config.kind_of? Hash - @config << format("%s.bot configure %s;", - @path, hash_kv(@btnframe_config).join(' ')) + @config << Kernel.format("%s.bot configure %s;", + @path, hash_kv(@btnframe_config).join(' ')) end if @bitmap_config.kind_of? Hash - @config << format("%s.bitmap configure %s;", - @path, hash_kv(@bitmap_config).join(' ')) + @config << Kernel.format("%s.bitmap configure %s;", + @path, hash_kv(@bitmap_config).join(' ')) end _set_button_config(@button_configs) if @button_configs -- cgit v1.2.3