vendor/gems/logging-0.9.7/lib/logging/appenders/io.rb
# call-seq:
#    close( footer = true )
#
# Close the appender and writes the layout footer to the logging
# destination if the _footer_ flag is set to +true+. Log events will
# no longer be written to the logging destination after the appender
# is closed.
#
call-seq:
close( footer = true )

Close the appender and writes the layout footer to the logging
destination if the _footer_ flag is set to +true+. Log events will
no longer be written to the logging destination after the appender
is closed.
call - seq : close ( footer = true ) Close the appender and writes the layout footer to the logging destination if the _footer_ flag is set to + true + . Log events will no longer be written to the logging destination after the appender is closed .
def close( *args )
      return self if @io.nil?
      super
      io, @io = @io, nil
      io.close unless [STDIN, STDERR, STDOUT].include?(io)
    rescue IOError => err
    ensure
      return self
    end
def close ( * args ) return self if @io . nil? super io , @io = @io , nil io . close unless [ STDIN , STDERR , STDOUT ] . include? ( io ) rescue IOError => err ensure return self end
call-seq:
close( footer = true )
call - seq : close ( footer = true )
args