diff options
| author | Jack Nagel | 2014-08-10 21:45:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-10 21:45:23 -0500 |
| commit | 8fc4bba03a1b3d0446ed52c0c294c59b28be0cf9 (patch) | |
| tree | 7b863f3c3b8d091e78eb5685c36f6e904f67dde3 /Library | |
| parent | d122ae8eea053b6f1074c34ce55ebc3dc26e0801 (diff) | |
| download | brew-8fc4bba03a1b3d0446ed52c0c294c59b28be0cf9.tar.bz2 | |
Remove user-defined options method after evaluation
Now we can use the superclass options method for our own purposes.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 78d3a568e..13624537c 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -596,6 +596,8 @@ class Formula spec.options << Option.new(opt[/^--(.+)$/, 1], desc) end end + + remove_method(:options) end end |
