Method: Async::IO::Stream#gets

Defined in:
lib/async/io/stream.rb

#gets(separator = $/, **options) ⇒ Object



147
148
149
# File 'lib/async/io/stream.rb', line 147

def gets(separator = $/, **options)
  read_until(separator, **options)
end