method
create
create(type_value, class_value)
public
Hide source
# File lib/resolv.rb, line 1467 def self.create(type_value, class_value) c = Class.new(Generic) c.const_set(:TypeValue, type_value) c.const_set(:ClassValue, class_value) Generic.const_set("Type#{type_value}_Class#{class_value}", c) ClassHash[[type_value, class_value]] = c return c end