app/api/v_sphere/folder.rb
# Ensure that the path relative to this folder is a valid folder and return it
# The path is an array of strings
Ensure that the path relative to this folder is a valid folder and return it
The path is an array of strings
Ensure that the path relative to this folder is a valid folder and return it The path is an array of strings
def ensure_subfolder_by_path(path)
      return self if path.empty?
      ensure_subfolder(path.first).ensure_subfolder_by_path(path[1..-1])
    end
def ensure_subfolder_by_path ( path ) return self if path . empty? ensure_subfolder ( path . first ) . ensure_subfolder_by_path ( path [ 1 .. - 1 ] ) end
Ensure that the path relative to this folder is a valid folder and return it
The path is an array of strings
Ensure that the path relative to this folder is a valid folder and return it The path is an array of strings
path