Class: Rugged::Tree
Instance Method Summary collapse
Instance Method Details
#each ⇒ Object
5 6 7 8 9 10 |
# File 'lib/rugged/tree.rb', line 5 def each entries = self.entry_count 0.upto(entries - 1) do |i| yield self[i] end end |
5 6 7 8 9 10 |
# File 'lib/rugged/tree.rb', line 5 def each entries = self.entry_count 0.upto(entries - 1) do |i| yield self[i] end end |