class Net::BER::BerIdentifiedOid
A BER object identifier.
Attributes
ber_identifier[RW]
Public Class Methods
new(oid)
click to toggle source
# File lib/net/ber.rb, line 270 def initialize(oid) if oid.is_a?(String) oid = oid.split(/\./).map(&:to_i) end @value = oid end
Public Instance Methods
to_arr()
click to toggle source
# File lib/net/ber.rb, line 289 def to_arr @value.dup end
to_ber()
click to toggle source
# File lib/net/ber.rb, line 277 def to_ber to_ber_oid end
to_ber_oid()
click to toggle source
# File lib/net/ber.rb, line 281 def to_ber_oid @value.to_ber_oid end
to_s()
click to toggle source
# File lib/net/ber.rb, line 285 def to_s @value.join(".") end