Methods
N
S
W
Attributes
[R] string
Class Public methods
new()
# File lib/rubygems/util/stringio.rb, line 2
def initialize
  @string = ""
end
Instance Public methods
set_encoding(enc)
# File lib/rubygems/util/stringio.rb, line 13
def set_encoding(enc)
  @string.force_encoding enc
end
write(s)
# File lib/rubygems/util/stringio.rb, line 8
def write(s)
  @string += s
  s.size
end