Class: RPM::Require

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) ⇒ Require



101
102
103
104
105
106
# File 'lib/rpm/dependency.rb', line 101

def initialize(name, version, flags, owner)
  super(name, version, flags, owner)
  @nametag = RPM::TAG[:requirename]
  @versiontag = RPM::TAG[:requireversion]
  @flagstag = RPM::TAG[:requireflags]
end