Parent

Methods

Class Index [+]

Quicksearch

TempIO

A StringIO duck-typed class that uses Tempfile instead of String as the backing store.

This is available when rubygems/test_utilities is required.

Public Class Methods

new(string = '') click to toggle source
     # File lib/rubygems/test_utilities.rb, line 148
148:   def initialize(string = '')
149:     super "TempIO"
150:     binmode
151:     write string
152:     rewind
153:   end

Public Instance Methods

string() click to toggle source
     # File lib/rubygems/test_utilities.rb, line 155
155:   def string
156:     flush
157:     Gem.read_binary path
158:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.