We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#<<
1 parent 7583e5f commit 4594793Copy full SHA for 4594793
lib/protocol/http/body/stream.rb
@@ -315,7 +315,7 @@ def write_nonblock(buffer, exception: nil)
315
end
316
317
# Write data to the stream using {write}.
318
- def <<(buffer)
+ def << buffer
319
write(buffer)
320
321
lib/protocol/http/header/accept.rb
@@ -81,7 +81,7 @@ def initialize(value = nil)
81
# The input string is split into distinct entries and appended to the array.
82
#
83
# @parameter value [String] the value or values to add, separated by commas.
84
- def << (value)
+ def << value
85
self.concat(value.scan(SEPARATOR).map(&:strip))
86
87
0 commit comments