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 | f8b41c131b4ebe3f92ffb4c46cb66bbee211cc77 (patch) | |
| tree | 9834a0d57193a270ab207169f79faeb8b7f1cc8a /ext/tk/lib/tkdialog.rb | |
| parent | 1c63280fcb458971136577d2aea1556555c07619 (diff) | |
| download | ruby-f8b41c131b4ebe3f92ffb4c46cb66bbee211cc77.tar.gz ruby-f8b41c131b4ebe3f92ffb4c46cb66bbee211cc77.tar.xz ruby-f8b41c131b4ebe3f92ffb4c46cb66bbee211cc77.zip | |
* 'format'==>'Kernel.format' (avoid override trouble)
git-svn-id: http://svn.ruby-lang.org/repos/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 8ac598c60..d5c13dca1 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 |
