Class: IO
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
Instance Method Details
#lines(separator = $/) ⇒ Object
159 160 161 162 163 |
# File 'lib/vendor/puppet/util/monkey_patches.rb', line 159 def lines(separator = $/) lines = split(separator) block_given? and lines.each {|line| yield line } lines end |