Class: LogicaCompiler::Registry::MissingManifest
- Inherits:
-
Object
- Object
- LogicaCompiler::Registry::MissingManifest
- Defined in:
- lib/logica_compiler/registry.rb
Instance Method Summary collapse
- #entry(_name) ⇒ Object
-
#initialize(manifest_path:) ⇒ MissingManifest
constructor
A new instance of MissingManifest.
- #sql(_name) ⇒ Object
Constructor Details
#initialize(manifest_path:) ⇒ MissingManifest
Returns a new instance of MissingManifest.
68 69 70 |
# File 'lib/logica_compiler/registry.rb', line 68 def initialize(manifest_path:) @manifest_path = manifest_path.to_s end |
Instance Method Details
#entry(_name) ⇒ Object
77 78 79 80 |
# File 'lib/logica_compiler/registry.rb', line 77 def entry(_name) raise MissingManifestError, "Missing Logica manifest: #{@manifest_path}. Run `bin/logica compile` first." end |
#sql(_name) ⇒ Object
72 73 74 75 |
# File 'lib/logica_compiler/registry.rb', line 72 def sql(_name) raise MissingManifestError, "Missing Logica manifest: #{@manifest_path}. Run `bin/logica compile` first." end |