Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Make Entry#to_s an alias for dn
Browse files Browse the repository at this point in the history
  • Loading branch information
tpope committed Feb 1, 2011
1 parent 651e14b commit 595176d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ldaptic/entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 595176d

Please sign in to comment.