instance method
IO#readline
(?::String sep, ?::Integer limit, ?chomp: ::boolish) -> ::String
readline(sep = $/, chomp: false) → string
readline(limit, chomp: false) → string
readline(sep, limit, chomp: false) → string
io.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/io.rb, line 133
def readline(sep = $/, limit = nil, chomp: false)
Primitive.io_readline(sep, limit, chomp)
end