Method: Rugged::Tree#each_tree

Defined in:
lib/rugged/tree.rb

#each_treeObject

Iterate over the subtrees in this tree



192
193
194
195
# File 'lib/rugged/tree.rb', line 192

def each_tree
  return to_enum(__method__) unless block_given?
  self.each { |e| yield e if e[:type] == :tree }
end