method

to_h

v2_6_3 - Show latest stable - Class: Hash
to_h()
public

Returns self. If called on a subclass of Hash, converts the receiver to a Hash object.

If a block is given, the results of the block on each pair of the receiver will be used as pairs.