Skip to content

Headed in the right `Dir`ection

Compare
Choose a tag to compare
@simonc simonc released this 18 Jul 09:07

This release brings a lot of new stuff to the Dir class, completing the long list of methods present in Ruby's implementation.

Enjoy !

Changes

  • ADD: Dir.chroot
  • ADD: Dir.glob and Dir[]
  • ADD: Dir.open
  • ADD: Dir.tmpdir
  • ADD: Dir#close
  • ADD: Dir#path
  • ADD: Dir#pos=
  • ADD: Dir#pos
  • ADD: Dir#read
  • ADD: Dir#rewind
  • ADD: Dir#seek
  • ADD: Dir#tell
  • ADD: Dir#to_path
  • FIX: Internal implementation methods are now private