method

new

ruby latest stable - Class: Gem::StringSource

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2_2_9) is shown here.

new(str)
public

No documentation available.

# File lib/rubygems/util/stringio.rb, line 19
  def initialize(str)
    @string = str.dup
  end