Sha256: 2feb1cfdd762e3f34cd5b6dda97d56978cef827fd31105841317c00bdb29f5d5
Contents?: true
Size: 235 Bytes
Versions: 46
Compression:
Stored size: 235 Bytes
Contents
module Serverspec::Type class PhpConfig < Base def value ret = @runner.run_command("php -r 'echo get_cfg_var( \"#{@name}\" );'") val = ret.stdout val = val.to_i if val.match(/^\d+$/) val end end end
Version data entries
46 entries across 46 versions & 3 rubygems