Exception: Ryac::Pipeline::GemNotFoundError
- Inherits:
-
StageError
- Object
- StandardError
- Error
- InputError
- StageError
- Ryac::Pipeline::GemNotFoundError
- Defined in:
- lib/ryac/pipeline/errors.rb,
sig/ryac/pipeline/errors.rbs
Overview
Raised when a gem cannot be found or has no Ruby entry file
Instance Attribute Summary collapse
-
#gem_name ⇒ String
readonly
Returns the value of attribute gem_name.
Instance Method Summary collapse
-
#initialize(gem_name) ⇒ GemNotFoundError
constructor
A new instance of GemNotFoundError.
Constructor Details
#initialize(gem_name) ⇒ GemNotFoundError
Returns a new instance of GemNotFoundError.
64 65 66 67 |
# File 'lib/ryac/pipeline/errors.rb', line 64 def initialize(gem_name) @gem_name = gem_name super("Gem not found: #{gem_name}") end |
Instance Attribute Details
#gem_name ⇒ String (readonly)
Returns the value of attribute gem_name.
62 63 64 |
# File 'lib/ryac/pipeline/errors.rb', line 62 def gem_name @gem_name end |