In Files

Parent

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 267
def initialize(oid)
  if oid.is_a?(String)
    oid = oid.split(/\./).map {|s| s.to_i }
  end
  @value = oid
end

Public Instance Methods

to_arr() click to toggle source
# File lib/net/ber.rb, line 286
def to_arr
  @value.dup
end
to_ber() click to toggle source
# File lib/net/ber.rb, line 274
def to_ber
  to_ber_oid
end
to_ber_oid() click to toggle source
# File lib/net/ber.rb, line 278
def to_ber_oid
  @value.to_ber_oid
end
to_s() click to toggle source
# File lib/net/ber.rb, line 282
def to_s
  @value.join(".")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.