Class: Net::BER::BerIdentifiedString
Overview
A String object with a BER identifier attached.
Constant Summary
Constants included from BERParser
Net::BER::BERParser::BuiltinSyntax
Instance Attribute Summary collapse
-
#ber_identifier ⇒ Object
Returns the value of attribute ber_identifier.
Instance Method Summary collapse
-
#initialize(args) ⇒ BerIdentifiedString
constructor
A new instance of BerIdentifiedString.
Methods included from Extensions::String
#read_ber, #read_ber!, #reject_empty_ber_arrays, #to_ber, #to_ber_application_string, #to_ber_bin, #to_ber_contextspecific
Methods included from BERParser
Constructor Details
#initialize(args) ⇒ BerIdentifiedString
Returns a new instance of BerIdentifiedString.
296 297 298 299 300 |
# File 'lib/net/ber.rb', line 296 def initialize args super args # LDAP uses UTF-8 encoded strings force_encoding('UTF-8') if respond_to?(:encoding) end |
Instance Attribute Details
#ber_identifier ⇒ Object
Returns the value of attribute ber_identifier.
295 296 297 |
# File 'lib/net/ber.rb', line 295 def ber_identifier @ber_identifier end |