Parent Directory | Revision Log | Patch
revision 1.1 by okuji, Fri Nov 22 10:32:31 2002 UTC | revision 1.2 by okuji, Thu Nov 28 10:16:03 2002 UTC | |
---|---|---|
# | Line 7 require 'cache' | Line 7 require 'cache' |
7 | ||
8 | class FileCache | class FileCache |
9 | def initialize(maxopen = 10) | def initialize(maxopen = 10) |
10 | @cache = Cache.new(nil, nil, maxopen) {|key, obj| obj.close} | @cache = Cache.new(:max_num => maxopen) {|key, obj| obj.close} |
11 | @saw = {} | @saw = {} |
12 | end | end |
13 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |