Exception: RBS::EnvironmentLoader::UnknownLibraryNameError
- Inherits:
-
StandardError
- Object
- StandardError
- RBS::EnvironmentLoader::UnknownLibraryNameError
- Defined in:
- lib/rbs/environment_loader.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name:) ⇒ UnknownLibraryNameError
constructor
A new instance of UnknownLibraryNameError.
Constructor Details
#initialize(name:) ⇒ UnknownLibraryNameError
Returns a new instance of UnknownLibraryNameError.
6 7 8 9 |
# File 'lib/rbs/environment_loader.rb', line 6 def initialize(name:) @name = name super "Cannot find a library or gem: `#{name}`" end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/rbs/environment_loader.rb', line 4 def name @name end |