Sha256: 497c07986b7cd5290d3540b210aca271deabb3fa03f292d382c4b713c7f4114d
Contents?: true
Size: 305 Bytes
Versions: 72
Compression:
Stored size: 305 Bytes
Contents
function stripExtension(filename) { return filename.substring(0, filename.lastIndexOf(".")) || filename; } function dirname(path) { return path ? path.match(/.*\//) : path; } function basename(path) { return path ? path.replace(/.*\//, "") : path; } export { stripExtension, dirname, basename };
Version data entries
72 entries across 72 versions & 1 rubygems