I am just wondering what happens to an object when to_s is applied to it with a colon? It is supposed to turn a single letter string into a symbol for a card game. Could someone explain if that is correct? Thanks! Here's an example:
def to_s
revealed? ? value.to_s : " "
end