Parent

Methods

PackageKitError

Attributes

description[R]

Public Class Methods

new(description) click to toggle source
# File lib/packagekit.rb, line 36
def initialize(description)
  @description = description
  super("PackageKit error")
end

Public Instance Methods

to_xml() click to toggle source
# File lib/packagekit.rb, line 41
def to_xml
  xml = Builder::XmlMarkup.new({})
  xml.instruct!

  xml.error do
    xml.type "PACKAGEKIT_ERROR"
    xml.description @description
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.