Sha256: b8cd1bd246f66e765e2c59130294545c63e3d02e08f7039368212667d5333354
Contents?: true
Size: 312 Bytes
Versions: 1
Compression:
Stored size: 312 Bytes
Contents
# Copyright 2019 panda Holdings PTE LTE (panda), All rights reserved. # Use of this source code is governed by an MIT-style license that can be found in the LICENSE file class PathUtils def self.remove_last_path_component(path, num_components = 1) path.split("/")[0...-num_components].join("/") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-binary-ht-1.0.0 | lib/cocoapods-binary-ht/helper/path_utils.rb |