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/tkcanvas.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/tkcanvas.rb')
-rw-r--r-- | ext/tk/lib/tkcanvas.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/tk/lib/tkcanvas.rb b/ext/tk/lib/tkcanvas.rb index 687f52165..58177584a 100644 --- a/ext/tk/lib/tkcanvas.rb +++ b/ext/tk/lib/tkcanvas.rb @@ -569,7 +569,7 @@ class TkcTag<TkObject def initialize(parent, mode=nil, *args) if not parent.kind_of?(TkCanvas) - fail format("%s need to be TkCanvas", parent.inspect) + fail Kernel.format("%s need to be TkCanvas", parent.inspect) end @c = parent @cpath = parent.path @@ -647,7 +647,7 @@ class TkcTagString<TkcTag def initialize(parent, name, mode=nil, *args) if not parent.kind_of?(TkCanvas) - fail format("%s need to be TkCanvas", parent.inspect) + fail Kernel.format("%s need to be TkCanvas", parent.inspect) end @c = parent @cpath = parent.path @@ -664,7 +664,7 @@ TkcNamedTag = TkcTagString class TkcTagAll<TkcTag def initialize(parent) if not parent.kind_of?(TkCanvas) - fail format("%s need to be TkCanvas", parent.inspect) + fail Kernel.format("%s need to be TkCanvas", parent.inspect) end @c = parent @cpath = parent.path @@ -677,7 +677,7 @@ end class TkcTagCurrent<TkcTag def initialize(parent) if not parent.kind_of?(TkCanvas) - fail format("%s need to be TkCanvas", parent.inspect) + fail Kernel.format("%s need to be TkCanvas", parent.inspect) end @c = parent @cpath = parent.path @@ -691,7 +691,7 @@ class TkcGroup<TkcTag Tk_cGroup_ID = ['tkcg'.freeze, '00000'.taint].freeze def create_self(parent, *args) if not parent.kind_of?(TkCanvas) - fail format("%s need to be TkCanvas", parent.inspect) + fail Kernel.format("%s need to be TkCanvas", parent.inspect) end @c = parent @cpath = parent.path @@ -737,7 +737,7 @@ class TkcItem<TkObject def initialize(parent, *args) if not parent.kind_of?(TkCanvas) - fail format("%s need to be TkCanvas", parent.inspect) + fail Kernel.format("%s need to be TkCanvas", parent.inspect) end @parent = @c = parent @path = parent.path |