Method: Containers::CRBTreeMap#push
- Defined in:
- ext/containers/rbtree_map/rbtree.c
#push(key, value) ⇒ Object Also known as: []=
361 362 363 364 365 |
# File 'ext/containers/rbtree_map/rbtree.c', line 361
static VALUE rbtree_push(VALUE self, VALUE key, VALUE value) {
rbtree *tree = get_tree_from_self(self);
tree->root = insert(tree, tree->root, key, value);
return value;
}
|