Check nil.to_h existance by respond_to instead of ruby version
Merge pull request #3 from ToQoz/check-nil-to_h-existance-by-respond_to-instead-of-ruby-version-in-spec

Check nil.to_h existance by respond_to instead of ruby version