summaryrefslogtreecommitdiff
path: root/ext/tk
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-03 05:25:00 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-04-03 05:25:00 +0000
commitc94187bce08dc83ae0c3d30835a73eb6dfe4689e (patch)
treeb5911b3405aec1bee504fe6ccfa044e9195d90f8 /ext/tk
parent153f513f4906aebb5e4b718b25011ddeb5769810 (diff)
* eval.c (rb_f_missing): use "inspect" for T_OBJECT as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
-rw-r--r--ext/tk/lib/tk.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb
index 2e4d9d039e..0ffb0ee434 100644
--- a/ext/tk/lib/tk.rb
+++ b/ext/tk/lib/tk.rb
@@ -1270,7 +1270,7 @@ class TkVariable
def ==(other)
case other
when TkVariable
- self.equal(self)
+ self.equal(other)
when String
self.to_s == other
when Integer