Class: RPM::Obsolete
- Inherits:
-
Dependency
- Object
- Dependency
- RPM::Obsolete
- Defined in:
- ext/rpm/dependency.c
Instance Method Summary collapse
Methods inherited from Dependency
#eq?, #flags, #flagstag, #ge?, #gt?, #le?, #lt?, #name, #nametag, #owner, #satisfy?, #version, #versiontag
Constructor Details
#initialize(name, version, flags, owner) ⇒ Object
64 65 66 67 68 69 70 71 72 73 |
# File 'ext/rpm/dependency.c', line 64
static VALUE
obsolete_initialize(VALUE dep, VALUE name, VALUE version,
VALUE flags, VALUE owner)
{
dependency_initialize(dep,name,version,flags,owner);
rb_ivar_set(dep, id_nametag, INT2NUM(RPMTAG_OBSOLETENAME));
rb_ivar_set(dep, id_versiontag, INT2NUM(RPMTAG_OBSOLETEVERSION));
rb_ivar_set(dep, id_flagstag, INT2NUM(RPMTAG_OBSOLETEFLAGS));
return dep;
}
|