Class: Chef::Provider::Package::Yum::RPMDbPackage
- Inherits:
-
RPMPackage
- Object
- RPMPackage
- Chef::Provider::Package::Yum::RPMDbPackage
- Defined in:
- lib/chef/provider/package/yum.rb
Instance Attribute Summary collapse
-
#available ⇒ Object
readonly
Returns the value of attribute available.
-
#installed ⇒ Object
readonly
Returns the value of attribute installed.
-
#repoid ⇒ Object
readonly
Returns the value of attribute repoid.
Attributes inherited from RPMPackage
Instance Method Summary collapse
-
#initialize(*args) ⇒ RPMDbPackage
constructor
<rpm parts>, installed, available.
Methods inherited from RPMPackage
Constructor Details
#initialize(*args) ⇒ RPMDbPackage
<rpm parts>, installed, available
502 503 504 505 506 507 508 |
# File 'lib/chef/provider/package/yum.rb', line 502 def initialize(*args) @repoid = args.pop # state @available = args.pop @installed = args.pop super(*args) end |
Instance Attribute Details
#available ⇒ Object (readonly)
Returns the value of attribute available.
509 510 511 |
# File 'lib/chef/provider/package/yum.rb', line 509 def available @available end |
#installed ⇒ Object (readonly)
Returns the value of attribute installed.
509 510 511 |
# File 'lib/chef/provider/package/yum.rb', line 509 def installed @installed end |
#repoid ⇒ Object (readonly)
Returns the value of attribute repoid.
509 510 511 |
# File 'lib/chef/provider/package/yum.rb', line 509 def repoid @repoid end |