Remove user-defined options method after evaluation
Now we can use the superclass options method for our own purposes.
This commit is contained in:
parent
d122ae8eea
commit
8fc4bba03a
@ -596,6 +596,8 @@ class Formula
|
|||||||
spec.options << Option.new(opt[/^--(.+)$/, 1], desc)
|
spec.options << Option.new(opt[/^--(.+)$/, 1], desc)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
remove_method(:options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user