public static RubyArray Split(ConversionStorage<MutableString>/*!*/ toPath, RubyClass/*!*/ self, object path) { MutableString p = Protocols.CastToPath(toPath, path); RubyArray result = new RubyArray(2); result.Add(DirName(p)); result.Add(BaseName(p, null)); return result; }