Exception: Inprovise::ScriptIndex::MissingScriptError
- Inherits:
-
StandardError
- Object
- StandardError
- Inprovise::ScriptIndex::MissingScriptError
- Defined in:
- lib/inprovise/script_index.rb
Instance Method Summary collapse
-
#initialize(index_name, script_name) ⇒ MissingScriptError
constructor
A new instance of MissingScriptError.
- #message ⇒ Object
Constructor Details
#initialize(index_name, script_name) ⇒ MissingScriptError
Returns a new instance of MissingScriptError.
37 38 39 40 |
# File 'lib/inprovise/script_index.rb', line 37 def initialize(index_name, script_name) @index_name = index_name @script_name = script_name end |
Instance Method Details
#message ⇒ Object
42 43 44 |
# File 'lib/inprovise/script_index.rb', line 42 def "script #{@script_name} could not be found in the index #{@index_name}" end |