Class: Suppository::DpkgDeb
- Inherits:
-
Object
- Object
- Suppository::DpkgDeb
- Defined in:
- lib/suppository/dpkg_deb.rb
Instance Attribute Summary collapse
-
#attibutes ⇒ Object
readonly
Returns the value of attribute attibutes.
Instance Method Summary collapse
-
#initialize(deb_path) ⇒ DpkgDeb
constructor
A new instance of DpkgDeb.
Constructor Details
#initialize(deb_path) ⇒ DpkgDeb
Returns a new instance of DpkgDeb.
9 10 11 12 |
# File 'lib/suppository/dpkg_deb.rb', line 9 def initialize(deb_path) command = CommandRunner.new('dpkg-deb', "-f #{deb_path}") @attibutes = parser(command.run) end |
Instance Attribute Details
#attibutes ⇒ Object (readonly)
Returns the value of attribute attibutes.
7 8 9 |
# File 'lib/suppository/dpkg_deb.rb', line 7 def attibutes @attibutes end |