# File lib/core/gameobject.rb, line 51 def delete_contents(oid) d = contents.delete(oid) if d.nil? log.error "Object #{oid} not in contents of #{id}" end d end