
Both formula_files and cask_files need to check whether a file is a Ruby file. Also, use this method in formula_file? and cask_file?
Library
This directory contains all the code run by the official brew
and brew cask
commands in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.