Returns true
if files may be created in the directory by STOU, STOR, APPE, and RNTO.
Returns true
if the file or directory may be renamed by RNFR.
Returns true
if the listing commands, LIST, NLST, and MLSD are applied to the directory.
Returns true
if the RETR command may be applied to the file.
Creates a new DNS
name from arg
. arg
can be:
returns the domain name as a string.
The domain name doesn’t have a trailing dot even if the name object is absolute.
Example:
p Resolv::DNS::Name.create("x.y.z.").to_s #=> "x.y.z" p Resolv::DNS::Name.create("x.y.z").to_s #=> "x.y.z"
Creates a new LOC::Size
from arg
which may be:
LOC::Size
returns arg
.
arg
must match the LOC::Size::Regex constant
Creates a new LOC::Coord
from arg
which may be:
LOC::Coord
returns arg
.
arg
must match the LOC::Coord::Regex constant
Creates a new LOC::Alt
from arg
which may be:
LOC::Alt
returns arg
.
arg
must match the LOC::Alt::Regex constant
Escapes all possible entities
Unescapes all possible entities
Content: [ String text ]