Class: MintPress::Resources::RPMVersion
- Inherits:
-
Object
- Object
- MintPress::Resources::RPMVersion
- Includes:
- Comparable, MintLogger
- Defined in:
- src/mintpress-resources/lib/mintpress-resources/rpm_package.rb
Properties (Read/Write)
Properties (Read Only)
Constant Summary
Constants included from MintLogger
MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN
Instance Attribute Summary collapse
-
#e ⇒ Object
(also: #epoch)
readonly
Returns the value of attribute e.
-
#r ⇒ Object
(also: #release)
readonly
Returns the value of attribute r.
-
#v ⇒ Object
(also: #version)
readonly
Returns the value of attribute v.
Class Method Summary collapse
Instance Method Summary collapse
- #<=>(other) ⇒ Object
- #compare(other) ⇒ Object
- #evr ⇒ Object
-
#initialize(*args) ⇒ RPMVersion
constructor
A new instance of RPMVersion.
- #partial_compare(other) ⇒ Object
-
#to_s ⇒ Object
RPM::Version rpm_version_to_s equivalent.
Methods included from MintLogger::Utils::Common
#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send
Constructor Details
#initialize(*args) ⇒ RPMVersion
Returns a new instance of RPMVersion.
Instance Attribute Details
#e ⇒ Object (readonly) Also known as: epoch
Returns the value of attribute e.
#r ⇒ Object (readonly) Also known as: release
Returns the value of attribute r.
#v ⇒ Object (readonly) Also known as: version
Returns the value of attribute v.
Class Method Details
.parse(*args) ⇒ Object
Instance Method Details
#<=>(other) ⇒ Object
#compare(other) ⇒ Object
#evr ⇒ Object
#partial_compare(other) ⇒ Object
#to_s ⇒ Object
RPM::Version rpm_version_to_s equivalent