Permalink
Browse files

Make Entry#to_s an alias for dn

  • Loading branch information...
1 parent 651e14b commit 595176d1d8dfc37846f4ee71a7601029f7ac6e11 @tpope committed Feb 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/ldaptic/entry.rb
View
@@ -262,7 +262,7 @@ def inspect
end
def to_s
- "#<#{self.class} #{dn}>"
+ dn || ''
end
# Reads an attribute and typecasts it if neccessary. If the argument given

0 comments on commit 595176d

Please sign in to comment.