There's no documentation for this item.
| Public Methods | |
|---|---|
| / | Subdirectory operator. |
| abs | Returns a new rio with a path equal to the absolute path of this rio |
| base | Returns a new Rio whose path is the base path that is used by IF::Path#abs to create an absolute Rio from a relative one. |
| basename | Similar to File#basename |
| basename= | Replace the part of the path returned by IF::Path#basename. If in rename mode, also renames the referenced filesystem object. |
| cleanpath | Calls Pathname#cleanpath |
| dirname | Calls File#dirname |
| dirname= | Replace the part of the path returned by IF::Path#dirname. If in rename mode, also renames the referenced filesystem object. |
| expand_ |
Calls File#expand_path |
| ext | Sets the string that the Rio considers an extension. The value will be used by subsequent calls to IF::Path#basename. If called with no arguments resets its value to the value returned by File#extname. Returns the Rio. |
| ext? | Returns the value of the Rio’s ‘ext’ variable This defaults to the value returned by IF::Path#extname and may be set by either calling IF::Path#ext or by passing an argument IF::Path#basename See also IF::Path#basename, IF::Path#ext, IF::Path#extname, IF::Path#noext |
| extname | Calls File#extname |
| extname= | Replace the part of the path returned by IF::Path#extname. If in rename mode, also renames the referenced filesystem object. |
| filename | Returns a new Rio with all path information stripped away. This is similar to IF::Path#basename, except that it always includes an extension if one exists |
| filename= | Replace the part of the path returned by IF::Path#filename. If in rename mode, also renames the referenced filesystem object. |
| fspath | Returns the path for the Rio on the underlying file system Returns nil if the Rio is not on the filesystem (i.e. stdin: or http: Rios) |
| host | Calls URI#host for Rios which have a URI. Otherwise raises NoMethodError. |
| join | Creates new Rio by adding args as additional directory components like File#join. |
| join! | Changes a Rio inplace by adding args as additional directory components like IF::Path#join, |
| merge | Calls URI#merge |
| noext | Identical to IF::Path#ext(’’) |
| opaque | Calls URI#opaque for Rios which have URI representations. The opaque portion of a URI is the portion after the colon and before the question-mark beginning the query. |
| path | Returns the path for the Rio, which is defined differently for different types of Rios. |
| realpath | Calls Pathname#realpath |
| rel | Returns a new rio with a path equal to the relative path from other |
| rootpath | IF::GrandeStream#rootpath |
| route_ |
Calls URI#route_from |
| route_ |
Calls URI#route_to |
| scheme | Returns the scheme for the Rio’s URI-like URI#scheme where the Rio is represented by a standard URI. For Rios that are not represented by standard URIs one of Rio’s non-standard schemes is returned. |
| splitpath | Returns an array of Rios, one for each path element. (Note that this behavior differs from File#split.) |
| to_ |
For resources that have a URL (RFC1738) representation, this returns a URI object referencing it. Otherwise this raises NoMethodError. |
| to_ |
For resources that have a absolute URL (RFC1738) representation, this returns a string containing that representation. For objects that do not this returns a RIORL (a descriptive pseudo-URL). |
| urlpath | Returns the path portion of the URL representation of the rio Returns nil if the Rio URL has no path (i.e. stdin: or http: Rios) |
<code/>and<pre/>for code samples.