Exception: ShebangDetectionError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ShebangDetectionError
- Defined in:
- exceptions.rb
Overview
Raised when detected_perl_shebang
etc cannot detect the shebang.
Instance Method Summary collapse
-
#initialize(type, reason) ⇒ ShebangDetectionError
constructor
A new instance of ShebangDetectionError.
Constructor Details
#initialize(type, reason) ⇒ ShebangDetectionError
Returns a new instance of ShebangDetectionError.
797 798 799 |
# File 'exceptions.rb', line 797 def initialize(type, reason) super "Cannot detect #{type} shebang: #{reason}." end |