diff options
Diffstat (limited to 'Library/Homebrew/metafiles.rb')
| -rw-r--r-- | Library/Homebrew/metafiles.rb | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/metafiles.rb b/Library/Homebrew/metafiles.rb index 37e646bb5..a6a265292 100644 --- a/Library/Homebrew/metafiles.rb +++ b/Library/Homebrew/metafiles.rb @@ -5,12 +5,12 @@ class Metafiles      news notes notice readme todo    ] -  def should_list? file -    return false if %w[.DS_Store INSTALL_RECEIPT.json].include? file +  def self.list?(file) +    return false if %w[.DS_Store INSTALL_RECEIPT.json].include?(file)      !copy?(file)    end -  def should_copy?(path) +  def self.copy?(path)      path = path.to_s.downcase      ext  = File.extname(path)  | 
