mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
7 lines
132 B
Ruby
7 lines
132 B
Ruby
![]() |
class Version
|
||
|
def slice *args
|
||
|
opoo "Calling slice on versions is deprecated, use: to_s.slice"
|
||
|
to_s.slice(*args)
|
||
|
end
|
||
|
end
|