Open tknerr opened 9 years ago
Not sure though whether the code handles them correctly if you switch to symbols, but chances are high I guess...
I prefer simple strings to symbols and there are a couple of reasons.
Simple strings allows us to pass the json straight in and not have to use to_sym anywhere in the code.
They are also garbage-collectible (although Ruby 2.2 partially solves that problem).
As a side note:
Ergo, hash rockets forever!
Looking at the README I see only Strings being used as the keys for the config hashes, e.g.:
I'm wondering whether using symbols would be more idiomatic (and also reads better when syntax-highlighted), e.g.: