Sha256: 1e0b509f2063d9e54c8a6d8f27b73a7d1f3e63be84fd2bbf2909d33b582f6ed4
Contents?: true
Size: 330 Bytes
Versions: 3
Compression:
Stored size: 330 Bytes
Contents
require 'stringio' module Mysql2xxxx module ExtraOutputs def to_s s = ::StringIO.new to_file s s.rewind s.read end def to_stdout to_file $stdout nil end def to_path(path) f = ::File.open(path, 'w') to_file f f.close nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mysql2xxxx-0.0.3 | lib/mysql2xxxx/extra_outputs.rb |
mysql2xxxx-0.0.2 | lib/mysql2xxxx/extra_outputs.rb |
mysql2xxxx-0.0.1 | lib/mysql2xxxx/extra_outputs.rb |