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