Methods
[]=
ΒΆ
[]=(h:
Hash
, k:
Any
, v:
Any
)
Set hash value.
h
Target hash
k
Key
v
Value
Returns
v
Example
h = {"a": 1} h["a"] = 2 h["a"] # 2