Method: Rugged::Tree#each_blob
- Defined in:
- lib/rugged/tree.rb
#each_blob ⇒ Object
Iterate over the blobs in this tree
186 187 188 189 |
# File 'lib/rugged/tree.rb', line 186 def each_blob return to_enum(__method__) unless block_given? self.each { |e| yield e if e[:type] == :blob } end |