Method: LemonGraph::NodeMap#delete

Defined in:
ext/lemongraph/node_map.cc

#delete(key) ⇒ Object

Deletes the entry for the given node and returns its associated value, or the default one.

Parameters:



938
939
940
941
942
# File 'ext/lemongraph/node_map.cc', line 938

VALUE lemongraph_nodemap_delete(VALUE self, VALUE key)
{
  LemonGraph::NodeMap& nm = lemongraph_nodemap_rb2ref(self);
  return nm.del(key);
}