Today I’m reading through flay’s #process method. This is one of the core methods that performs the analysis. The Code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 …
Tag: file-search
Daily Code Reading #13 – Flay#expand_dirs_to_files
I’m looking at flay’s #expand_dirs_to_files today. This method takes a list of files and directories and will recursively walk them to collect all of the Ruby source files that need to be analyzed. The Code 1 2 3 4 5 6 7 8 9 10 11 def self.expand_dirs_to_files *dirs extensions = ['rb'] + Flay.load_plugins …