aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/appledoc.rb
diff options
context:
space:
mode:
authorJack Nagel2013-01-18 19:30:43 -0600
committerJack Nagel2013-01-18 19:30:43 -0600
commit43f2bfaafcbc53a39aedf384186b604c1834af2e (patch)
treec42688c170f8092be80a3bca20df26af125822a0 /Library/Formula/appledoc.rb
parent8eddbd5404fb31cc9ddaead5f14d7076ec59a2cd (diff)
downloadhomebrew-43f2bfaafcbc53a39aedf384186b604c1834af2e.tar.bz2
Use fatal DSL method in requirements
Diffstat (limited to 'Library/Formula/appledoc.rb')
-rw-r--r--Library/Formula/appledoc.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/appledoc.rb b/Library/Formula/appledoc.rb
index 4f4814fcf..eecde22e0 100644
--- a/Library/Formula/appledoc.rb
+++ b/Library/Formula/appledoc.rb
@@ -1,12 +1,11 @@
require 'formula'
class LionOrNewer < Requirement
+ fatal true
+
def satisfied?
MacOS.version >= :lion
end
- def fatal?
- true
- end
def message
"Appledoc requires Mac OS X 10.7 (Lion) or newer."
end