Method: Package#version
- Defined in:
- lib/resources/package.rb
#version ⇒ Object
return the package version
58 59 60 61 62 |
# File 'lib/resources/package.rb', line 58 def version info = @pkgman.info(@package_name) return nil if info.nil? info[:version] end |