Remove user-defined options method after evaluation

Now we can use the superclass options method for our own purposes.
This commit is contained in:
Jack Nagel 2014-08-10 21:45:23 -05:00
parent d122ae8eea
commit 8fc4bba03a

View File

@ -596,6 +596,8 @@ class Formula
spec.options << Option.new(opt[/^--(.+)$/, 1], desc)
end
end
remove_method(:options)
end
end