Exception: RuAUR::Error::FailedToCompile
- Inherits:
-
RuAUR::Error
- Object
- RuntimeError
- RuAUR::Error
- RuAUR::Error::FailedToCompile
- Defined in:
- lib/ruaur/error/failed_to_compile.rb
Instance Method Summary collapse
-
#initialize(package = nil) ⇒ FailedToCompile
constructor
A new instance of FailedToCompile.
Constructor Details
#initialize(package = nil) ⇒ FailedToCompile
Returns a new instance of FailedToCompile.
2 3 4 5 |
# File 'lib/ruaur/error/failed_to_compile.rb', line 2 def initialize(package = nil) super("Failed to compile: #{package}") if (package) super("Failed to compile") if (package.nil?) end |