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

, installed, available


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

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


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

def available
  @available
end

#installedObject (readonly)

Returns the value of attribute installed


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

def installed
  @installed
end

#repoidObject (readonly)

Returns the value of attribute repoid


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

def repoid
  @repoid
end