projects
/
chise
/
ruby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
n.c.
[chise/ruby.git]
/
chise
/
idsdbmanagement.rb
1
# Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
2
3
require "chise/idsdb"
4
require "chise/qp"
5
6
module CHISE
7
class IDS_DB_Management
8
def initialize
9
@idb = CHISE::IDS_DB.instance
10
end
11
12
def store_ids_to_bdb
13
@idb.each_ccs {|ccs|
14
#qp ccs
15
cd = @idb.get_ccs(ccs)
16
cd.each_entry {|char, ids|
17
char.ids = ids if char.ids.nil?
18
}
19
}
20
end
21
22
end
23
end