Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::Buffering#each_line
(?::String eol) ?{ (::String) -> void } -> void
each_line(eol=$/)
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/ext/openssl/lib/openssl/buffering.rb, line 262
def each(eol=$/)
while line = self.gets(eol)
yield line
end
end
Alias of #each
Executes the block for every line in the stream where lines are separated by eol.
See also gets