diff options
| author | Jack Nagel | 2013-01-18 19:30:43 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-18 19:30:43 -0600 |
| commit | 43f2bfaafcbc53a39aedf384186b604c1834af2e (patch) | |
| tree | c42688c170f8092be80a3bca20df26af125822a0 /Library/Formula/nu.rb | |
| parent | 8eddbd5404fb31cc9ddaead5f14d7076ec59a2cd (diff) | |
| download | homebrew-43f2bfaafcbc53a39aedf384186b604c1834af2e.tar.bz2 | |
Use fatal DSL method in requirements
Diffstat (limited to 'Library/Formula/nu.rb')
| -rw-r--r-- | Library/Formula/nu.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/nu.rb b/Library/Formula/nu.rb index 20f0eadb3..0dcb9575b 100644 --- a/Library/Formula/nu.rb +++ b/Library/Formula/nu.rb @@ -1,15 +1,14 @@ require 'formula' class NeedsLion < Requirement + fatal true + def satisfied? MacOS.version >= :lion end def message "Nu requires Mac OS X 10.7 or newer" end - def fatal? - true - end end class Nu < Formula |
