diff options
| author | Jack Nagel | 2013-01-19 20:45:59 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-21 17:36:34 -0600 |
| commit | 3ad7174f7d3cad94a67338b404fdc220fd2f2e8e (patch) | |
| tree | 1ad337f60b86a951544ffce6e1b9fa2d8eb0e707 /Library/Formula/nu.rb | |
| parent | b48e89cbb2a14a935626c64f5e19044bc2b08d85 (diff) | |
| download | homebrew-3ad7174f7d3cad94a67338b404fdc220fd2f2e8e.tar.bz2 | |
Use new requirement syntax
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 0dcb9575b..3ed0e2ac3 100644 --- a/Library/Formula/nu.rb +++ b/Library/Formula/nu.rb @@ -3,9 +3,8 @@ require 'formula' class NeedsLion < Requirement fatal true - def satisfied? - MacOS.version >= :lion - end + satisfy MacOS.version >= :lion + def message "Nu requires Mac OS X 10.7 or newer" end |
