Fixed .id => .object_id in TMail

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1082 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson
2005-04-03 16:26:21 +00:00
parent d3a64c04ec
commit 46f2b03eac

View File

@@ -303,11 +303,11 @@ module TMail
alias eql? ==
def hash
@buffer.id.hash
@buffer.object_id.hash
end
def inspect
"#<#{self.class}:id=#{sprintf '0x%x', @buffer.id}>"
"#<#{self.class}:id=#{sprintf '0x%x', @buffer.object_id}>"
end
def reproducible?