summaryrefslogtreecommitdiffstats
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
commit967a84286504f84256d3a52d3e87373dd51dbdc9 (patch)
treeb5911b3405aec1bee504fe6ccfa044e9195d90f8 /ext/tk
parent4fc53c6b5599fc522b2e5916c342801069b9231d (diff)
downloadruby-967a84286504f84256d3a52d3e87373dd51dbdc9.tar.gz
ruby-967a84286504f84256d3a52d3e87373dd51dbdc9.tar.xz
ruby-967a84286504f84256d3a52d3e87373dd51dbdc9.zip
* eval.c (rb_f_missing): use "inspect" for T_OBJECT as well.
git-svn-id: http://svn.ruby-lang.org/repos/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 2e4d9d039..0ffb0ee43 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