Method: Inspec::Resources::Package#version
- Defined in:
- lib/resources/package.rb
#version ⇒ Object
return the package version
76 77 78 79 |
# File 'lib/resources/package.rb', line 76 def version info = @pkgman.info(@package_name) info[:version] end |