diff options
| author | Jack Nagel | 2014-12-27 14:26:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-27 14:26:56 -0500 |
| commit | 77a1c6f1661b188b5f2acaca0db1bbf4eb7c6262 (patch) | |
| tree | fa52b99ace79bf055490390e27f814f3308612e3 /Library/Homebrew/formula.rb | |
| parent | b43876d4a2369f3d12f0b0c169eb671c668aa0f2 (diff) | |
| download | brew-77a1c6f1661b188b5f2acaca0db1bbf4eb7c6262.tar.bz2 | |
One less external call to #active_spec
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index cc25c2482..2f25a5c30 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -212,6 +212,10 @@ class Formula active_spec.deprecated_options end + def deprecated_flags + active_spec.deprecated_flags + end + # If a named option is defined for the currently active {SoftwareSpec}. def option_defined?(name) active_spec.option_defined?(name) |
