8 9 10
# File 'lib/ulock.rb', line 8 def files(glob) Dir.glob(glob).reject { |f| File.directory?(f) } end