# File lib/snmp/varbind.rb, line 152 def initialize(id=[]) if id.nil? raise ArgumentError elsif id.respond_to? :to_str super(make_integers(id.to_str.split("."))) else super(make_integers(id.to_ary)) end rescue ArgumentError raise ArgumentError, "#{id.inspect}:#{id.class} not a valid object ID" end