D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Pathname
/
Filename :
relative_path_from-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: "#relative_path_from returns a relative path from the argument to the receiver. If <tt>self</tt> is absolute, the argument must be absolute too. If <tt>self</tt> is relative, the argument must be relative too." - !ruby/struct:SM::Flow::P body: "#relative_path_from doesn't access the filesystem. It assumes no symlinks." - !ruby/struct:SM::Flow::P body: ArgumentError is raised when it cannot find a relative path. - !ruby/struct:SM::Flow::P body: This method has existed since 1.8.1. full_name: Pathname#relative_path_from is_singleton: false name: relative_path_from params: (base_directory) visibility: public