ruby-****@sourc*****
ruby-****@sourc*****
2009年 2月 1日 (日) 09:19:29 JST
------------------------- REMOTE_ADDR = 74.15.84.244 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?GLib ------------------------- @@ -160,19 +160,22 @@ --- GLib.path_get_basename(path) Obtain base name from a path i.e.: ("/aaa/bbb/ccc" -> "ccc"). NOTE: this function is cross platform compatible it does not care what the File::SEPARATOR is. + * A string representing either an absolute or a relative the directory path. * Returns: base name (last item from the path). --- GLib.path_get_dirname(path) Obtain the folder in which the base name from a path sits i.e.: ("/aaa/bbb/ccc" -> "/aaa/bbb") + * A string representing either an absolute or a relative the directory path. * Returns: folder in which the last item from the path resides. NOTE: this function is cross platform compatible it does not care what the File::SEPARATOR is. --- GLib.path_is_absolute?(path) + * A string representing either an absolute or a relative the directory path. * Returns: true the string in <path> represents an absolute path. NOTE: this function is cross platform compatible it does not care what the File::SEPARATOR is. - --- GLib.path_skip_root(path) + * A string representing either an absolute or a relative the directory path. Removes the root directory from the path - (i.e.: "/aaa/bbb/ccc" -> "aaa/bbb/ccc") * Returns: the relative path without root (/).