edge badge

Backport of Struct#to_h from Ruby 2.0