instance method Hash#to_hash

to_hash -> self[permalink][rdoc]

self を返します。

例:

hash = {}
p hash.to_hash         # => {}
p hash.to_hash == hash # => true

[SEE_ALSO] Object#to_hash, Hash#to_h