Class RPM::Problem
In: lib/rpm/problem.rb
Parent: Object

Methods

<=>   create   from_ptr   key   new   ptr   release   str   to_s   type  

Public Class methods

Create a problem item. @param [RPM::ProblemType] type problem type @param [String] pkg_nver name-version-edition-release of the related package @param [String] key key of the related package @param [String] alt_nver name-version-edition-release of the other related package @param [String] str generic data string from a problem

Creates a problem from an existing C pointer, refcounting it first. @param [FFI::Pointer] ptr existing C pointer @return [RPM::Problem] wrapped object

@visibility private

Public Instance methods

@return [Fixnum] compare two problems for equality.

@return [String] filename or python object address of a problem.

@visibility private

@return [String] a generic data string from a problem.

@return [String] formatted string representation of a problem

@return [RPM::ProblemType] type of problem (dependency, diskpace etc).

[Validate]