Class: LogicaCompiler::Registry::Unavailable
- Inherits:
-
Object
- Object
- LogicaCompiler::Registry::Unavailable
- Defined in:
- lib/logica_compiler/registry.rb
Instance Method Summary collapse
- #entry(_name) ⇒ Object
-
#initialize(message:) ⇒ Unavailable
constructor
A new instance of Unavailable.
- #sql(_name) ⇒ Object
Constructor Details
#initialize(message:) ⇒ Unavailable
Returns a new instance of Unavailable.
84 85 86 |
# File 'lib/logica_compiler/registry.rb', line 84 def initialize(message:) @message = .to_s end |
Instance Method Details
#entry(_name) ⇒ Object
92 93 94 |
# File 'lib/logica_compiler/registry.rb', line 92 def entry(_name) raise MissingManifestError, @message end |
#sql(_name) ⇒ Object
88 89 90 |
# File 'lib/logica_compiler/registry.rb', line 88 def sql(_name) raise MissingManifestError, @message end |