class HashWithIndifferentAccess(V)

Overview

Allows to access values by both String and Symbol key.

Defined in:

ifrit/hash_with_indifferent_access.cr

Constructors

Instance Method Summary

Instance methods inherited from class Hash(String, V)

blank? blank?

Instance methods inherited from class Object

blank? : Bool blank?, present? present?

Constructor Detail

def self.new(hash : Hash) #

[View source]
def self.new(named_tuple : NamedTuple) #

[View source]

Instance Method Detail

def []=(key : Symbol, value : V) #

[View source]
def delete(key : Symbol) #

[View source]
def delete(key : Symbol, &) #

[View source]
def values_at(*indexes : Symbol) #

[View source]