Class: RPM::Obsolete

Inherits:
Dependency show all
Defined in:
lib/rpm/dependency.rb

Instance Attribute Summary

Attributes inherited from Dependency

#flags, #flagstag, #name, #nametag, #owner, #version, #versiontag

Instance Method Summary collapse

Methods inherited from Dependency

#eq?, #ge?, #gt?, #le?, #lt?, #pre?, #satisfy?

Constructor Details

#initialize(name, version, flags, owner) ⇒ Obsolete

Returns a new instance of Obsolete



123
124
125
126
127
128
# File 'lib/rpm/dependency.rb', line 123

def initialize(name, version, flags, owner)
  super(name, version, flags, owner)
  @nametag = RPM::TAG[:obsoletename]
  @versiontag = RPM::TAG[:obsoleteversion]
  @flagstag = RPM::TAG[:obsoleteflags]
end