Methods

Class/Module Index [+]

Quicksearch

Amalgalite::Taps::StringIO

This class provides an IO tap that writes to a StringIO. The result is available via .to_s or .string.

Public Class Methods

new() click to toggle source
# File lib/amalgalite/taps/io.rb, line 59
def initialize
  @stringio = ::StringIO.new
  super( @stringio )
end

Public Instance Methods

string() click to toggle source
Alias for: to_s
to_s() click to toggle source
# File lib/amalgalite/taps/io.rb, line 64
def to_s
  @stringio.string
end
Also aliased as: string

[Validate]

Generated with the Darkfish Rdoc Generator 2.