method
to_hash
v2_6_3 -
Show latest stable
- Class:
Hash
to_hash()public
Returns self.
static VALUE
rb_hash_to_hash(VALUE hash)
{
return hash;
} Related methods
- Instance methods
- <
- <=
- ==
- >
- >=
- []
- []=
- any?
- assoc
- clear
- compact
- compact!
- compare_by_identity
- compare_by_identity?
- default
- default=
- default_proc
- default_proc=
- delete
- delete_if
- dig
- each
- each_key
- each_pair
- each_value
- empty?
- eql?
- fetch
- fetch_values
- filter
- filter!
- flatten
- has_key?
- has_value?
- hash
- include?
- index
- initialize_copy
- inspect
- invert
- keep_if
- key
- key?
- keys
- length
- member?
- merge
- merge!
- pretty_print
- pretty_print_cycle
- rassoc
- rehash
- reject
- reject!
- replace
- select
- select!
- shift
- size
- slice
- store
- to_a
- to_h
- to_hash
- to_proc
- to_s
- transform_keys
- transform_keys!
- transform_values
- transform_values!
- update
- value?
- values
- values_at
- Class methods
- []
- new
- try_convert