Support for the Ruby 2.1 series ended on March 31 2017. See here for details.
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.1.6
Ruby-doc.org is provided by James Britt and Neurogami. Maximum R+D.
Generated with Ruby-doc Rdoc Generator 0.44.0.