
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.
10 lines
159 B
Ruby
10 lines
159 B
Ruby
class Pathname
|
|
def cp(_)
|
|
odisabled "Pathname#cp", "FileUtils.cp"
|
|
end
|
|
|
|
def chmod_R(_)
|
|
odisabled "Pathname#chmod_R", "FileUtils.chmod_R"
|
|
end
|
|
end
|