you don't need to call `#to_s` here. Comparing the constants is preferred and will work well.