Sha256: 39abbbcfd628dd68134a7228b8f8b0145750c9ef68ebe4d765d6c2965c4a0297
Contents?: true
Size: 502 Bytes
Versions: 1
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true class GitDump class Version # Common methods in Version and Builder module Base # Retrive tree or entry at path, return nil if there is nothing at path def [](path) tree[path] end # Iterate over every tree/entry at root level def each(&block) tree.each(&block) end # Iterate over all entries recursively def each_recursive(&block) tree.each_recursive(&block) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_dump-0.1.1 | lib/git_dump/version/base.rb |