Class: GitRecent::ReflogIterator
- Inherits:
-
Object
- Object
- GitRecent::ReflogIterator
- Defined in:
- lib/git_recent/reflog_iterator.rb
Instance Method Summary collapse
Instance Method Details
#each ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/git_recent/reflog_iterator.rb', line 5 def each Open3.pipeline_r('git reflog') do |o, ts| o.each_line do |line_string| yield GitRecent::ReflogLine.new(line_string) end end end |