Method: Shell::Filter#each
- Defined in:
- lib/shell/filter.rb
#each(rs = nil) ⇒ Object
33 34 35 36 37 38 |
# File 'lib/shell/filter.rb', line 33 def each(rs = nil) rs = @shell.record_separator unless rs if @input @input.each(rs){|l| yield l} end end |