Flowdock
method

open

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: Logging
open() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/mkmf.rb, line 175
  def self::open
    @log ||= File::open(@logfile, 'w')
    @log.sync = true
    $stderr.reopen(@log)
    $stdout.reopen(@log)
    yield
  ensure
    $stderr.reopen(@orgerr)
    $stdout.reopen(@orgout)
  end
Register or log in to add new notes.