src code

instance method Hash#set

Hash#set(key, value) → value

Sets the hash's key property to value and returns value.