Class: Hash

Inherits:
Object
  • Object
show all
Includes:
TSort
Defined in:
lib/social_snippet/core.rb

Overview

Extend Hash tsortable

Instance Method Summary collapse

Instance Method Details

#tsort_each_child(node, &block) ⇒ Object


7
8
9
# File 'lib/social_snippet/core.rb', line 7

def tsort_each_child(node, &block)
  fetch(node).each(&block)
end