Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/protocol/http/body/stream.rb
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def write_nonblock(buffer, exception: nil)
end

# Write data to the stream using {write}.
def <<(buffer)
def << buffer
write(buffer)
end

Expand Down
2 changes: 1 addition & 1 deletion lib/protocol/http/header/accept.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def initialize(value = nil)
# The input string is split into distinct entries and appended to the array.
#
# @parameter value [String] the value or values to add, separated by commas.
def << (value)
def << value
self.concat(value.scan(SEPARATOR).map(&:strip))
end

Expand Down
Loading