Module: Kernel

Module | Kernel
In: | lib/mongrel/debug.rb lib/mongrel/debug.rb

### Methods

log_open_files log_open_files open open orig_open

### External Aliases

open | -> | orig_open

### Public Instance methods

log_open_files()

[Source]

        # File lib/mongrel/debug.rb, line 81
    81:   def log_open_files
    82:     open_counts = {}
    83:     $open_files.each do |f,args|
    84:       open_counts[args] ||= 0
    85:       open_counts[args] += 1
    86:     end
    87:     MongrelDbg::trace(:files, open_counts.to_yaml)
    88:   end

log_open_files()

[Source]

        # File lib/mongrel/debug.rb, line 81
    81:   def log_open_files
    82:     open_counts = {}
    83:     $open_files.each do |f,args|
    84:       open_counts[args] ||= 0
    85:       open_counts[args] += 1
    86:     end
    87:     MongrelDbg::trace(:files, open_counts.to_yaml)
    88:   end

open(*arg, &blk)

[Source]

        # File lib/mongrel/debug.rb, line 76
    76:   def open(*arg, &blk)
    77:     $open_files[self] = arg[0]
    78:     orig_open(*arg,&blk)
    79:   end

open(*arg, &blk)

[Source]

        # File lib/mongrel/debug.rb, line 76
    76:   def open(*arg, &blk)
    77:     $open_files[self] = arg[0]
    78:     orig_open(*arg,&blk)
    79:   end

orig_open(*arg, &blk)

Alias for open

[Validate]