module Kernel

Public Instance Methods

log_open_files() click to toggle source
# File lib/mongrel/debug.rb, line 81
def log_open_files
  open_counts = {}
  $open_files.each do |f,args|
    open_counts[args] ||= 0
    open_counts[args] += 1
  end
  MongrelDbg::trace(:files, open_counts.to_yaml)
end
open(*arg, &blk) click to toggle source
# File lib/mongrel/debug.rb, line 76
def open(*arg, &blk)
  $open_files[self] = arg[0]
  orig_open(*arg,&blk)
end
Also aliased as: orig_open
orig_open(*arg, &blk)
Alias for: open