Am 01.02.2013 14:43, schrieb Arup R.:
Yes! Exactly this I have followed and made the code working: One change
I did-until Dir.glob(’**/.part’)== []
sleep 0.1 #puts "h"
end
Bravo!
And a slightly more “Rubyish” way to do it would be
until Dir.glob(’**/.part’).empty?
sleep(0.1)
end
or
sleep(0.1) until Dir.glob(’**/.part’).empty?
Now all are set, for GOD sake:) Thanks to all of you! You people are
really love Ruby- which is proved by your continuous suggestions. It
seems I started to fall in love with “Ruby”
That’s nice to hear