parent
df45f8fd09
commit
396ca3fc59
@ -217,3 +217,11 @@ module MacOS extend self
|
|||||||
end
|
end
|
||||||
alias_method :mountain_lion_or_newer?, :mountain_lion?
|
alias_method :mountain_lion_or_newer?, :mountain_lion?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
class Version
|
||||||
|
def slice *args
|
||||||
|
opoo "Calling slice on versions is deprecated, use: to_s.slice"
|
||||||
|
to_s.slice *args
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user