# File lib/Dnsruby/code_mapper.rb, line 44 def CodeMapper.update @@strings[self] = {} @@stringsdown[self] = {} @@values[self] = {} @@maxcode[self] = 0 constants = self.constants - CodeMapper.constants constants.each do |i| @@strings[self].store(i, const_get(i)) end @@maxcode[self] = constants.length @@values[self] = @@strings[self].invert @@stringsdown[self] = Hash.new @@strings[self].keys.each do |s| @@stringsdown[self].store(s.downcase, @@strings[self][s]) end end