From 43f2bfaafcbc53a39aedf384186b604c1834af2e Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 18 Jan 2013 19:30:43 -0600 Subject: Use fatal DSL method in requirements --- Library/Formula/nu.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Library/Formula/nu.rb') 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 -- cgit v1.2.3