Parent

Methods

Class Index [+]

Quicksearch

TempIO

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

Public Class Methods

new(string = '') click to toggle source
     # File lib/rubygems/test_utilities.rb, line 135
135:   def initialize(string = '')
136:     super "TempIO"
137:     binmode
138:     write string
139:     rewind
140:   end

Public Instance Methods

string() click to toggle source
     # File lib/rubygems/test_utilities.rb, line 142
142:   def string
143:     flush
144:     Gem.read_binary path
145:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.