Class: Chef::Provider::Package::Yum::RPMDbPackage

Inherits:
RPMPackage
  • Object
show all
Defined in:
lib/chef/provider/package/yum/rpm_utils.rb

Instance Attribute Summary collapse

Attributes inherited from RPMPackage

#a, #n, #provides, #version

Instance Method Summary collapse

Methods inherited from RPMPackage

#<=>, #compare, #nevra, #to_s

Constructor Details

#initialize(*args) ⇒ RPMDbPackage

<rpm parts>, installed, available



492
493
494
495
496
497
498
# File 'lib/chef/provider/package/yum/rpm_utils.rb', line 492

def initialize(*args)
  @repoid = args.pop
  # state
  @available = args.pop
  @installed = args.pop
  super(*args)
end

Instance Attribute Details

#availableObject (readonly)

Returns the value of attribute available.



499
500
501
# File 'lib/chef/provider/package/yum/rpm_utils.rb', line 499

def available
  @available
end

#installedObject (readonly)

Returns the value of attribute installed.



499
500
501
# File 'lib/chef/provider/package/yum/rpm_utils.rb', line 499

def installed
  @installed
end

#repoidObject (readonly)

Returns the value of attribute repoid.



499
500
501
# File 'lib/chef/provider/package/yum/rpm_utils.rb', line 499

def repoid
  @repoid
end