lib/treequel/branch.rb in treequel-1.2.0 vs lib/treequel/branch.rb in treequel-1.2.1

- old
+ new

@@ -153,9 +153,16 @@ def exists? return self.entry ? true : false end + ### Returns +true+ if the Branch's entry has been fetched from the directory. + ### @return [Boolean] + def loaded? + return @entry ? true : false + end + + ### Return the RDN of the branch. ### @return [String] def rdn return self.split_dn( 2 ).first end