update doc

This commit is contained in:
Adam Vandenberg 2014-02-23 12:21:43 -08:00
parent 1f86923ec2
commit ed56bdd046

View File

@ -247,9 +247,10 @@ class Formula
end end
end end
# sometimes the cleaner breaks things # sometimes the formula cleaner breaks things
# skip cleaning paths in a formula with a class method like this: # skip cleaning paths in a formula with a class method like this:
# skip_clean bin/"foo", lib/"bar" # skip_clean "bin/foo", "lib"bar"
# keep .la files with:
# skip_clean :la # skip_clean :la
def skip_clean? path def skip_clean? path
return true if path.extname == '.la' and self.class.skip_clean_paths.include? :la return true if path.extname == '.la' and self.class.skip_clean_paths.include? :la