Fixes to work around rdoc bug
Fixes to work around rdoc bug

* Rewrote a while loop to avoid the rdoc parsing bug
* Removed the nodoc flags used previously to hide private methods which rdoc was showing

javanthropus/io-like