I have some line of code which retrieves all the files from one folder. But its also fetching hidden files. Can someone help me in modifying that regular expression so, that it won't retrieve hidden files?
Find.find(actual_root) do |path|
file_paths << path if path =~ /.*\./
end