Sha256: 7263f01378eb217001cda0ff8a4c9657d3fac01219f9300d0da5da8eed18e0e5

Contents?: true

Size: 67 Bytes

Versions: 13

Compression:

Stored size: 67 Bytes

Contents

function abs(Integer $x) {
  if $x < 0 { $x * -1 }
  else { $x }
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
puppet-retrospec-1.8.0 spec/fixtures/functions/abs.pp
puppet-retrospec-1.7.0 spec/fixtures/functions/abs.pp
puppet-retrospec-1.6.1 spec/fixtures/functions/abs.pp
puppet-retrospec-1.6.0 spec/fixtures/functions/abs.pp
puppet-retrospec-1.5.0 spec/fixtures/functions/abs.pp
puppet-retrospec-1.4.1 spec/fixtures/functions/abs.pp
puppet-retrospec-1.4.0 spec/fixtures/functions/abs.pp
puppet-retrospec-1.3.2 spec/fixtures/functions/abs.pp
puppet-retrospec-1.3.1 spec/fixtures/functions/abs.pp
puppet-retrospec-1.3.0 spec/fixtures/functions/abs.pp
puppet-retrospec-1.2.1 spec/fixtures/functions/abs.pp
puppet-retrospec-1.2.0 spec/fixtures/functions/abs.pp
puppet-retrospec-1.1.0 spec/fixtures/functions/abs.pp