load_module (SNMP::MIB)

    # File lib/snmp/mib.rb, line 155
        def load_module(module_name, mib_dir=DEFAULT_MIB_PATH)
            oid_hash = nil
            File.open(MIB.module_file_name(module_name, mib_dir)) do |file|
                oid_hash = YAML.load(file.read)
            end
            @by_name.merge!(oid_hash) do |key, old, value|
                warn "warning: overwriting old MIB name '#{key}'"
            end
            @by_module_by_name[module_name] = {}
            @by_module_by_name[module_name].merge!(oid_hash)
        end