Method: Gitgo::Git::Tree#each
- Defined in:
- lib/gitgo/git/tree.rb
#each ⇒ Object
Yields each (path, entry) pair to the block, as an array, ordered by path. Implemented to get access to the enumerable methods.
146 147 148 149 150 151 |
# File 'lib/gitgo/git/tree.rb', line 146 def each each_pair do |key, value| yield [key, value] end self end |