lib/u3d/utils.rb in u3d-1.0.20 vs lib/u3d/utils.rb in u3d-1.0.21
- old
+ new
@@ -200,10 +200,11 @@
def pretty_filesize(filesize)
Filesize.from(filesize.round.to_s + ' B').pretty
end
def windows_path(path)
- path.gsub(%r{\/(\d)}, '/\\\\\1').tr('/', '\\')
+ UI.deprecated("Use U3dCore::Helper.windows_path")
+ U3dCore::Helper.windows_path(path)
end
private
def http_max_retries