class RuAUR::Error::PackageNotFound
Public Class Methods
new(package = nil)
click to toggle source
Calls superclass method
# File lib/ruaur/error/package_not_found.rb, line 2 def initialize(package = nil) super("Package not found: #{package}") if (package) super("No package was specified") if (package.nil?) end