# File lib/backports/2.0.0/hash/to_h.rb, line 3
    def to_h
      self.class == Hash ? self : {}.replace(self)
    end