class

HashWithIndifferentAccess(V)

Inherits Hash < Iterable < Enumerable < Reference < Object

Allows to access values by both String and Symbol key.

Constructors

new(hash : Hash)
Source
new(named_tuple : NamedTuple)
Source

Instance methods

[]=(key : Symbol, value : V)
Source
delete(key : Symbol)
Source
delete(key : Symbol, &)
Source
values_at(*indexes : Symbol)
Source