I have some cards which have IDs that are symbols. I add the cards to a hash and I want to be able to pull them out by symbol name
I can define equality between Card and Symbol by overriding == and eql? but this creates a barmy state where Card can be equal to Symbol but Symbol is not equal to card and therefore Hash.include? returns false still
If I'm working on a project in files that are require()'d, but being changed with each iteration, in a given IRB session they are only loaded once so all my subsequent changes are ignored! How do I refresh require()'d files for a given IRB session?