mirror of
https://github.com/gosticks/brew.git
synced 2026-10-04 06:26:59 +00:00
compat/version: cleanup style.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class Version
|
||||
def slice(*args)
|
||||
opoo "Calling slice on versions is deprecated, use: to_s.slice"
|
||||
odeprecated "Version#slice", "Version#to_s.slice"
|
||||
to_s.slice(*args)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user