def varbind(name, value=Null)
      if name.respond_to? :to_str
        vb = VarBind.new(oid(name), value)
      else
        vb = name.to_varbind
        vb.value = value
      end
      vb
    end
def varbind(name, value=Null)
      if name.respond_to? :to_str
        vb = VarBind.new(oid(name), value)
      else
        vb = name.to_varbind
        vb.value = value
      end
      vb
    end
Returns a VarBind object for the given name and value.  The name
 can be a String, ObjectId, or anything that responds to :to_varbind.

 String names are in the format <ModuleName>::<NodeName>.<Index> with
 ModuleName and Index being optional.