Method: ChefConfig::PathHelper.relative_path_from
- Defined in:
- lib/chef-config/path_helper.rb
.relative_path_from(from, to, windows: ChefUtils.windows?) ⇒ Object
202 203 204 |
# File 'lib/chef-config/path_helper.rb', line 202 def self.relative_path_from(from, to, windows: ChefUtils.windows?) Pathname.new(cleanpath(to, windows: windows)).relative_path_from(Pathname.new(cleanpath(from, windows: windows))) end |