instance method
OpenSSL::Buffering#each
(?::String eol) ?{ (::String) -> void } -> void
each(eol=$/) { |line| ... }
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/openssl/lib/openssl/buffering.rb, line 262
def each(eol=$/)
while line = self.gets(eol)
yield line
end
end
Executes the block for every line in the stream where lines are separated by eol.
See also gets