Пример #1
0
        private string[] GetPaths(string input)
        {
            string[] paths = StringUtils.Split(input, new char[] { Path.PathSeparator }, Int32.MaxValue, StringSplitOptions.RemoveEmptyEntries);

            for (int i = 0; i < paths.Length; i++)
            {
                string path = paths[i];

                if (!RubyUtils.IsRelativeToCurrentDirectory(path))
                {
                    paths[i] = RubyUtils.ExpandPath(Platform, path, Platform.CurrentDirectory, true);
                }
            }

            return(paths);
        }