Class: SNMP::NoSuchObject

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

Class Method Summary collapse

Class Method Details

.asn1_typeObject



483
484
485
# File 'lib/snmp/varbind.rb', line 483

def asn1_type
  'noSuchObject'
end

.decode(value_data) ⇒ Object



475
476
477
# File 'lib/snmp/varbind.rb', line 475

def decode(value_data)
  NoSuchObject
end

.encodeObject



479
480
481
# File 'lib/snmp/varbind.rb', line 479

def encode
  encode_exception(NoSuchObject_TAG)
end

.to_sObject



487
488
489
# File 'lib/snmp/varbind.rb', line 487

def to_s
  asn1_type
end