module

Dynany(T)

Instance methods

[]=(key : Int, value : T::Any)

Sets the value of key to the given value.

Source
[]=(path : Enumerable, value : T::Any) : T::Any

Sets the value of key to the given value.

Source
delete(index : Int) : T::Any | Nil

Deletes the element at the given index.

Source
delete(key : String) : T::Any | Nil

Deletes the key-value pair.

Source
delete(path : Enumerable) : T::Any

Removes the element corresponding to the path.

Source