Returns a new instance of Varbind.
11 12 13 14 15
# File 'lib/netsnmp/varbind.rb', line 11 def initialize(oid, value: nil, type: nil) @oid = OID.build(oid) @type = type @value = convert_val(value) if value end