Exception: Avmtrf1::Ruby::Gems::NotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- Avmtrf1::Ruby::Gems::NotFoundError
- Defined in:
- lib/avmtrf1/ruby/gems/not_found_error.rb
Instance Attribute Summary collapse
-
#dependency ⇒ Object
readonly
Returns the value of attribute dependency.
Instance Method Summary collapse
-
#initialize(dependency) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(dependency) ⇒ NotFoundError
Returns a new instance of NotFoundError.
9 10 11 12 13 |
# File 'lib/avmtrf1/ruby/gems/not_found_error.rb', line 9 def initialize(dependency) @dependency = dependency super("Gem \"#{dependency.gem_name}\" not found" \ " (Library required: \"#{dependency.lib_name}\")") end |
Instance Attribute Details
#dependency ⇒ Object (readonly)
Returns the value of attribute dependency.
7 8 9 |
# File 'lib/avmtrf1/ruby/gems/not_found_error.rb', line 7 def dependency @dependency end |