@@ -293,24 +293,24 @@ def to_arr
293293
294294## 
295295# A String object with a BER identifier attached. 
296- #   
296+ # 
297297class  Net ::BER ::BerIdentifiedString  < String 
298298  attr_accessor  :ber_identifier 
299299
300300  # The binary data provided when parsing the result of the LDAP search 
301301  # has the encoding 'ASCII-8BIT' (which is basically 'BINARY', or 'unknown'). 
302-   #   
302+   # 
303303  # This is the kind of a backtrace showing how the binary `data` comes to 
304304  # BerIdentifiedString.new(data): 
305305  # 
306306  #  @conn.read_ber(syntax) 
307307  #     -> StringIO.new(self).read_ber(syntax), i.e. included from module 
308-   #     -> Net::BER::BERParser.read_ber(syntax)   
308+   #     -> Net::BER::BERParser.read_ber(syntax) 
309309  #        -> (private)Net::BER::BERParser.parse_ber_object(syntax, id, data) 
310-   #   
310+   # 
311311  # In the `#parse_ber_object` method `data`, according to its OID, is being 
312312  # 'casted' to one of the Net::BER:BerIdentifiedXXX classes. 
313-   #   
313+   # 
314314  # As we are using LDAP v3 we can safely assume that the data is encoded 
315315  # in UTF-8 and therefore the only thing to be done when instantiating is to 
316316  # switch the encoding from 'ASCII-8BIT' to 'UTF-8'. 
@@ -322,9 +322,9 @@ class Net::BER::BerIdentifiedString < String
322322  # I have no clue how this encodings function. 
323323  def  initialize  args 
324324    super 
325-     #   
325+     # 
326326    # Check the encoding of the newly created String and set the encoding 
327-     # to 'UTF-8' (NOTE: we do NOT change the bytes, but only set the   
327+     # to 'UTF-8' (NOTE: we do NOT change the bytes, but only set the 
328328    # encoding to 'UTF-8'). 
329329    current_encoding  =  encoding 
330330    if  current_encoding  == Encoding ::BINARY 
0 commit comments