Module: Logging::Appenders::StringIo::IoToS

Defined in:
lib/logging/appenders/string_io.rb

Overview

:stopdoc:

Instance Method Summary collapse

Instance Method Details

#to_sObject


81
82
83
84
85
86
# File 'lib/logging/appenders/string_io.rb', line 81

def to_s
  seek 0
  str = read
  seek 0
  return str
end