Class: MintPress::Resources::RPMVersion

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

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

#eObject (readonly) Also known as: epoch

Returns the value of attribute e.

#rObject (readonly) Also known as: release

Returns the value of attribute r.

#vObject (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

#evrObject

#partial_compare(other) ⇒ Object

#to_sObject

RPM::Version rpm_version_to_s equivalent