! Fixes all tests

Some code has been removed. Version control is not synonymous with code storage - if you're not using it now, you probably don't have working tests and the code will be buggy anyway. Write it when you need it.
This commit is contained in:
Kaspar Schiess 2010-02-12 14:39:57 +01:00
parent 75f37c58b9
commit 1509aa8ef6
16 changed files with 164 additions and 166 deletions

View file

@ -1,3 +1,5 @@
require 'stringio'
module Net
class LDAP
module Extensions
@ -29,18 +31,9 @@ module Net
end
def read_ber syntax=nil
StringIO.new(self).read_ber(syntax)
StringIO.new(self).
read_ber(syntax)
end
# def read_ber! syntax=nil
# obj,n_consumed = read_ber_from_string(self, syntax)
# if n_consumed
# self.slice!(0...n_consumed)
# obj
# else
# nil
# end
# end
end
end
end