method SPEC
1 | class IO::Path |
1.1 | (IO::Path) method SPEC |
Documentation for method SPEC
assembled from the following types:
class IO::Path
From IO::Path
(IO::Path) method SPEC
Defined as:
method SPEC(IO::Path: --> IO::Spec)
Returns the IO::Spec object that was (implicitly) specified at object creation time.
my = IO::Path.new("/bin/bash");say .SPEC; # OUTPUT: «(Unix)»say .SPEC.dir-sep; # OUTPUT: «/»