{Hash,Struct,NilClass,ENV,OpenStruct}.#to_h for 2.0