i want to delete only child dierectoris, but i am getting a code its deleting parent directory also
I think you are looking for Dir.children
i want to delete only child dierectoris, but i am getting a code its deleting parent directory also
I think you are looking for Dir.children
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs