Object
# File rubygems/util/stringio.rb, line 19 def initialize(str) @string = str.dup end
# File rubygems/util/stringio.rb, line 23 def read(count=nil) if count @string.slice!(0,count) else s = @string @string = "" s end end
This page was generated for Ruby 2.2.10
Generated with Ruby-doc Rdoc Generator 0.44.0.