Class
Hash
In:
lib/backports/2.4.0/hash/compact.rb
lib/backports/2.4.0/hash/transform_values.rb
lib/backports/2.0.0/hash/to_h.rb
lib/backports/2.0.0/hash/default_proc.rb
lib/backports/rails/hash.rb
lib/backports/2.3.0/hash/to_proc.rb
lib/backports/2.3.0/hash/gte.rb
lib/backports/2.3.0/hash/lte.rb
lib/backports/2.3.0/hash/gt.rb
lib/backports/2.3.0/hash/dig.rb
lib/backports/2.3.0/hash/fetch_values.rb
lib/backports/2.3.0/hash/lt.rb
lib/backports/1.9.2/hash/keep_if.rb
lib/backports/1.9.2/hash/select.rb
lib/backports/2.5.0/enumerable/any.rb
lib/backports/2.5.0/hash/transform_keys.rb
lib/backports/2.5.0/hash/slice.rb
lib/backports/1.8.7/hash/hash.rb
lib/backports/force/hash_select.rb
lib/backports/1.9.1/hash/rassoc.rb
lib/backports/1.9.1/hash/assoc.rb
lib/backports/1.9.1/hash/default_proc.rb
Parent:
Object
Methods
<
<=
>
>=
[]
any_with_pattern?
assoc
compact
compact!
default_proc=
default_proc_with_nil=
dig
eql?
fetch_values
hash
keep_if
rassoc
reverse_merge
reverse_merge!
select!
select_with_hash_return
slice
stringify_keys
stringify_keys!
symbolize_keys
symbolize_keys!
to_h
to_proc
transform_keys
transform_keys!
transform_values
transform_values!
try_convert
External Aliases
[]
->
constructor_without_key_value_pair_form
Public Class methods
[]
(*args)
try_convert
(x)
Public Instance methods
<
(hash)
<=
(hash)
>
(hash)
>=
(hash)
any_with_pattern?
(pattern = Backports::Undefined, &block)
assoc
(key)
compact
()
compact!
()
default_proc=
(proc)
default_proc_with_nil=
(proc)
dig
(key, *rest)
eql?
(other)
fetch_values
(*keys, &block)
hash
()
keep_if
() {|key, value| ...}
rassoc
(value)
reverse_merge
(other_hash)
Standard in rails. See official
documentation
reverse_merge!
(other_hash)
Standard in rails. See official
documentation
select!
() {|key, value| ...}
select_with_hash_return
() {|[k, v]| ...}
slice
(*keys)
stringify_keys
()
Standard in rails. See official
documentation
stringify_keys!
()
Standard in rails. See official
documentation
symbolize_keys
()
Standard in rails. See official
documentation
symbolize_keys!
()
Standard in rails. See official
documentation
to_h
()
to_proc
()
transform_keys
() {|key] = value| ...}
transform_keys!
() {|key| ...}
transform_values
() {|value| ...}
transform_values!
() {|value| ...}
[Validate]