# File lib/rpm/problem.rb, line 40
    def type
      RPM::C.rpmProblemGetType(@ptr)
    end