Skip to content
Create a gist now

Instantly share code, notes, and snippets.

method for listing files
def get_files(path)
dir_list_array =
Find.find(path) do |f|
dir_list_array << File.basename(f, ".*") if !
return dir_list_array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.