# File lib/core/gameobject.rb, line 41 def add_contents(oid) if contents.include? oid log.error "Object #{oid} already in contents of #{id}" else contents << oid end end