ruby version of base bash ls command