krainboltgreene / intrinsic

a library for complex data storage and object modeling
MIT License
3 stars 0 forks source link

Change object_id to the hash sum of the object #7

Open krainboltgreene opened 12 years ago

krainboltgreene commented 12 years ago

Source TODO marker:

# TODO: Change object_id to the correct hash
def to_s
  "#<#{self.class}:#{self.object_id} #{properties.map{|k,v| k.to_s + '=' + v.inspect}.join(', ')}>"
end