diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-03 04:55:07 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-03 04:55:07 +0000 |
commit | a7c382223ceee47e2d5a2a7ef3e495e1259b9540 (patch) | |
tree | 9834a0d57193a270ab207169f79faeb8b7f1cc8a /ext/tk/lib/tkdialog.rb | |
parent | e3bab670fcbcb8e9adced59e880aa0b4851949cd (diff) |
* 'format'==>'Kernel.format' (avoid override trouble)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tkdialog.rb')
-rw-r--r-- | ext/tk/lib/tkdialog.rb | 20 |
1 files changed, 10 insertions, 10 deletions
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 |