Sha256: 24597fdd09966cce6986502d0a31a54361b05a55d630bc12d3904e1998f8994f

Contents?: true

Size: 361 Bytes

Versions: 20

Compression:

Stored size: 361 Bytes

Contents

$file      = '/etc/puppetlabs/foo.bar.tar.gz'
$filename  = staging_parse($file)
$basename  = staging_parse($file, 'basename')
$extname   = staging_parse($file, 'extname')
$parent    = staging_parse($file, 'parent')
$rbasename = staging_parse($file, 'basename', '.tar.gz')

notice($filename)
notice($basename)
notice($extname)
notice($parent)
notice($rbasename)

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
puppet-retrospec-1.8.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.7.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.6.1 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.6.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.5.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.4.1 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.4.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.3.2 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.3.1 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.3.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.2.1 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.2.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.1.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-1.0.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-0.12.1 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-0.12.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-0.11.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-0.10.0 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-0.9.1 spec/fixtures/modules/staging/tests/staging_parse.pp
puppet-retrospec-0.9.0 spec/fixtures/modules/staging/tests/staging_parse.pp