seeingidog / aws-pricing

Simpler interface to AWS pricing data
MIT License
3 stars 1 forks source link

"Properly" set default values #2

Closed mrardon closed 12 years ago

mrardon commented 12 years ago

This should work in most Rubies from what I have found.

I original had the to_s in there but removed it because it prevents the default option from working on my Ruby 1.9.3p134.

I have found a better way, "I think"....

See http://stackoverflow.com/questions/1186400/correct-way-to-set-default-values-in-rails

seeingidog commented 12 years ago

Cool, specs pass this time :) Thanks man.