From 159373707b4d8da7f27dbae92585b11674cbd8a2 Mon Sep 17 00:00:00 2001 From: Baptiste Fontaine Date: Thu, 14 Jan 2016 00:54:15 +0100 Subject: [PATCH] Cookbook: remove ref to obsolete 'def patches' --- share/doc/homebrew/Formula-Cookbook.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md index 49ccece024..24bcdb0cfb 100644 --- a/share/doc/homebrew/Formula-Cookbook.md +++ b/share/doc/homebrew/Formula-Cookbook.md @@ -769,7 +769,7 @@ Check if the formula you are updating is a dependency for any other formulae by Homebrew wants to maintain a consistent Ruby style across all formulae based on [Ruby Style Guide](https://github.com/styleguide/ruby). Other formulae may not have been updated to match this guide yet but all new ones should. Also: -* The order of methods in a formula should be consistent with other formulae (e.g.: `def patches` goes before `def install`) +* The order of methods in a formula should be consistent with other formulae (e.g.: `def install` goes before `def post_install`) * An empty line is required before the `__END__` line # Troubleshooting for people writing new formulae