Get all directory names in a root directory
if @env_os == 'windows'
@scandir = self.scandir.gsub(/\\/, '/')
else
@scandir = self.scandir
end
all_full_rels = Dir["#{@scandir}/*"]
all_rels = []
all_full_rels.each do |frel|
if is_dir_exist(frel)
t_rel = File.basename(frel).gsub(/\/$/, '')
all_rels.push(t_rel)
end
end