mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00

Add more `odeprecated` calls to places that have been deprecated for a while in the wild and move some of the existing `odeprecated` calls to be `odisabled` to allow deleting the compatibility code.
6 lines
91 B
Ruby
6 lines
91 B
Ruby
class Version
|
|
def slice(*)
|
|
odisabled "Version#slice", "Version#to_s.slice"
|
|
end
|
|
end
|