varbind_list (SNMP::MIB)

    # File lib/snmp/mib.rb, line 178
        def varbind_list(object_list, option=:KeepValue)
            vb_list = VarBindList.new
            if object_list.respond_to? :to_str
                vb_list << oid(object_list).to_varbind
            elsif object_list.respond_to? :to_varbind
                vb_list << apply_option(object_list.to_varbind, option)
            else
                object_list.each do |item|
                    if item.respond_to? :to_str
                        varbind = oid(item).to_varbind
                    else
                        varbind = item.to_varbind
                    end
                    vb_list << apply_option(varbind, option)
                end
            end
            vb_list
        end