lib/greygoo/player.rb
def to_resource
			r = super
			r["current room"] = r.delete(:parent)
			r
		end
# Converts the player to a hash. Renames parent to 'current_room'
Converts the player to a hash. Renames parent to 'current_room'
Converts the player to a hash . Renames parent to ' current_room '
def to_resource
			r = super
			r["current room"] = r.delete(:parent)
			r
		end
def to_resource r = super r [ "current room" ] = r . delete ( :parent ) r end
Converts the player to a hash.
Converts the player to a hash .