* sorry. fixed commit miss

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nagai 2003-08-03 06:00:54 +00:00
parent c1c4b6b501
commit 6c288fe84a

View File

@ -1839,17 +1839,10 @@ class TkVariable
string(value).to_s
end
<<<<<<< tk.rb
def to_symbol
value.intern
end
=======
def to_sym
value.intern
end
>>>>>>> 1.73
def inspect
format "#<TkVariable: %s>", @id
end
@ -1860,13 +1853,8 @@ class TkVariable
self.equal?(other)
when String
self.to_s == other
<<<<<<< tk.rb
when Symbol
self.to_symbol == other
=======
when Symbol
self.to_sym == other
>>>>>>> 1.73
when Integer
self.to_i == other
when Float