Method: Async::IO::Stream#puts
- Defined in:
- lib/async/io/stream.rb
#puts(*arguments, separator: $/) ⇒ Object
189 190 191 192 193 194 195 |
# File 'lib/async/io/stream.rb', line 189 def puts(*arguments, separator: $/) arguments.each do |argument| @write_buffer << argument << separator end flush end |