Make from_yaml backwards compatible with ruby 1.8
Merge pull request #11 from jcosmo/support_jruby_1.6.7.2

Make from_yaml backwards compatible with ruby 1.8