A StringIO duck-typed class that uses Tempfile instead of String as the backing store.
[Source]
# File lib/rubygems/test_utilities.rb, line 145 145: def initialize(string = '') 146: super "TempIO" 147: binmode 148: write string 149: rewind 150: end
# File lib/rubygems/test_utilities.rb, line 152 152: def string 153: flush 154: Gem.read_binary path 155: end
[Validate]