Move to ruby

Does this create a class instance anyway (if symbols are not unique), just empty? Shouldn't it throw an error or sth instead?