Class: SNMP::Null

Inherits:
Object
  • Object
show all
Defined in:
lib/snmp/varbind.rb

Class Method Summary collapse

Class Method Details

.asn1_typeObject


463
464
465
# File 'lib/snmp/varbind.rb', line 463

def asn1_type
  'Null'
end

.decode(value_data) ⇒ Object


455
456
457
# File 'lib/snmp/varbind.rb', line 455

def decode(value_data)
  Null
end

.encodeObject


459
460
461
# File 'lib/snmp/varbind.rb', line 459

def encode
  encode_null
end

.to_sObject


467
468
469
# File 'lib/snmp/varbind.rb', line 467

def to_s
  asn1_type
end