Exception: Ryac::Pipeline::GemNotFoundError

Inherits:
StageError show all
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

Instance Method Summary collapse

Constructor Details

#initialize(gem_name) ⇒ GemNotFoundError

Returns a new instance of GemNotFoundError.

Parameters:

  • gem_name (String)


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.

Returns:

  • (String)


62
63
64
# File 'lib/ryac/pipeline/errors.rb', line 62

def gem_name
  @gem_name
end