# File lib/snmp/varbind.rb, line 103 def to_oid raise RangeError, "@{value} cannot be an OID (must be >0)" if @value < 0 ObjectId.new([@value]) end