Defines Enumerable#to_h ; See https://bugs.ruby-lang.org/issues/7292
Matthew Kerwin
Simplified BSD License