i have tried your code.
but it gives me argument error

[search_string_1,search_string_2].all? {|s| sub_folder_name.include? s}

pls help me
Thanks
-- 
Posted via http://www.ruby-forum.com/.