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

Methods

External Aliases

open -> orig_open

Public Instance methods

[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

[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

[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

[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]