Use strings in preference to symbols to access node attributes
willejs opened this issue · 2 comments
willejs commented
As per foodcritic FC001 rule, strings should be used instead of symbols.
someone run something like this, but better
echo "node[:etcd][:upstart][:start_on]" | sed "s/]/']/g" | sed "s/:/'/g"
spheromak commented
@willejs this is just a bike shed style rule I prefer symbols, but if enough people care I am happy to switch it.
willejs commented
Its the never ending argument...
Foodcritic/foodcritic#86