Subject: | Clarify documentation of ls() method |
Looking at the code, it's obvious that the ls() method returns either a list of files or a reference to an array of files, depending on the context that the method is called in.
The documentation doesn't mention this at all. It might be nice to include this fact in the description of the method.