Module: Tree::DotAlgorithms

Includes:
KeysProperty
Defined in:
lib/modular_tree/algorithms.rb

Instance Method Summary collapse

Methods included from KeysProperty

#[], #key?, #keys

Instance Method Details

#dot(path) ⇒ Object



343
# File 'lib/modular_tree/algorithms.rb', line 343

def dot(path) = Separator.split(path).keys.each.inject(self) { |a,e| a[e] }