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 907accf commit 66f0eccCopy full SHA for 66f0ecc
lib/httparty/text_encoder.rb
@@ -5,7 +5,7 @@ class TextEncoder
5
attr_reader :text, :content_type, :assume_utf16_is_big_endian
6
7
def initialize(text, assume_utf16_is_big_endian: true, content_type: nil)
8
- @text = text.dup
+ @text = +text
9
@content_type = content_type
10
@assume_utf16_is_big_endian = assume_utf16_is_big_endian
11
end
0 commit comments