compat/version: cleanup style.
This commit is contained in:
parent
f334806eb1
commit
ade09145d9
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user