lib/git_store/tree.rb
# Iterate over all objects found in this subtree.
Iterate over all objects found in this subtree.
Iterate over all objects found in this subtree .
def each(&block)
      table.sort.each do |name, entry|
        case entry
        when Blob; yield entry.object
        when Tree; entry.each(&block)
        end
      end
    end
def each ( & block ) table . sort . each do | name , entry | case entry when Blob ; yield entry . object when Tree ; entry . each ( & block ) end end end
Iterate over all objects found in this subtree.
Iterate over all objects found in this subtree .
block