Module: FdupesParser
- Defined in:
- lib/fdupes_parser.rb,
lib/fdupes_parser/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
Class Method Details
.each_entry(input) ⇒ Object
3 4 5 6 7 8 9 |
# File 'lib/fdupes_parser.rb', line 3 def each_entry(input) return to_enum(__method__, input) if !block_given? input.each_line("", chomp: true).lazy.each do |s_entry| yield(FdupesParser::Entry.parse(s_entry)) end end |