lib/active_ldap/ldif.rb in activeldap-7.0.0 vs lib/active_ldap/ldif.rb in activeldap-7.2.0
- old
+ new
@@ -557,10 +557,10 @@
def line
_consumed_source = consumed_source
return 1 if _consumed_source.empty?
- n = Compatible.string_to_lines(_consumed_source).size
+ n = _consumed_source.lines.size
n += 1 if _consumed_source[-1, 1] == "\n"
n
end
def column