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