module Dynany(T)

Direct including types

Defined in:

dynany.cr

Instance Method Summary

Instance Method Detail

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

Sets the value of key to the given value.


[View source]
def []=(path : Enumerable, value : T::Any) : T::Any #

Sets the value of key to the given value.


[View source]
def delete(index : Int) : T::Any | Nil #

Deletes the element at the given index.


[View source]
def delete(key : String) : T::Any | Nil #

Deletes the key-value pair.


[View source]
def delete(path : Enumerable) : T::Any #

Removes the element corresponding to the path.


[View source]