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