diff options
| author | Jack Nagel | 2014-08-10 21:45:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-10 21:45:23 -0500 |
| commit | e38cfd4f9843b7d355bf66b71d812093258478dd (patch) | |
| tree | 5e96879b001baf5334bbfac65fbc91ea4f3143d5 | |
| parent | 22a3e838ff4f86927b2fc1a8671b96e9bfd8d3d3 (diff) | |
| download | homebrew-e38cfd4f9843b7d355bf66b71d812093258478dd.tar.bz2 | |
Remove user-defined options method after evaluation
Now we can use the superclass options method for our own purposes.
| -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 |
