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.
8 9 10 11 12 |
# File 'lib/rbs/environment_loader.rb', line 8 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.
6 7 8 |
# File 'lib/rbs/environment_loader.rb', line 6 def library @library end |