Skip to content

Commit

Permalink
Let's make this a little easier on the eyes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Oct 2, 2024
1 parent 4f7637d commit 6778e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/io/stream/generic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def write(string, flush: false)
@writing.synchronize do
@write_buffer << string

flush |= @write_buffer.bytesize >= @block_size
flush |= (@write_buffer.bytesize >= @block_size)

if flush
self.drain(@write_buffer)
Expand Down

0 comments on commit 6778e97

Please sign in to comment.