instance method Hash#to_hash

to_hash -> self[permalink][rdoc][edit]

self を返します。



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

[SEE_ALSO] Object#to_hash, Hash#to_h