Method: Hash#graph!
- Defined in:
- lib/core/facets/hash/graph.rb
#graph!(&yld) ⇒ Object Also known as: mash!
In place version of #graph.
NOTE: Hash#graph! is only useful for Hash. It is not generally applicable to Enumerable.
10 11 12 |
# File 'lib/core/facets/hash/graph.rb', line 10 def graph!(&yld) replace(graph(&yld)) end |