Skip to content

Commit

Permalink
* sorry. fixed commit miss
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nagai committed Aug 3, 2003
1 parent c1c4b6b commit 6c288fe
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ext/tk/lib/tk.rb
Expand Up @@ -1839,17 +1839,10 @@ def to_s
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
Expand All @@ -1860,13 +1853,8 @@ def ==(other)
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
Expand Down

0 comments on commit 6c288fe

Please sign in to comment.