aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorBaptiste Fontaine2016-01-14 00:54:15 +0100
committerBaptiste Fontaine2016-01-14 00:54:15 +0100
commit159373707b4d8da7f27dbae92585b11674cbd8a2 (patch)
tree03efef7ea2c21342167f31946f59ddb7bd5c1223 /share
parent6f50b457972505bf5417a1dfa470f224e7e95415 (diff)
downloadbrew-159373707b4d8da7f27dbae92585b11674cbd8a2.tar.bz2
Cookbook: remove ref to obsolete 'def patches'
Diffstat (limited to 'share')
-rw-r--r--share/doc/homebrew/Formula-Cookbook.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/doc/homebrew/Formula-Cookbook.md b/share/doc/homebrew/Formula-Cookbook.md
index 49ccece02..24bcdb0cf 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