Class: OpenURI::Buffer
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/open-uri.rb |
Constant Summary
-
StringMax =
# File 'lib/open-uri.rb', line 42510240
Class Method Summary
- .new ⇒ Buffer constructor
Instance Attribute Summary
- #size readonly
Instance Method Summary
Constructor Details
.new ⇒ Buffer
# File 'lib/open-uri.rb', line 419
def initialize @io = StringIO.new @size = 0 end
Instance Attribute Details
#size (readonly)
[ GitHub ]# File 'lib/open-uri.rb', line 423
attr_reader :size