Exception: Autoterm::ProjectNotFoundError
- Defined in:
- lib/autoterm/errors.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
readonly
Returns the value of attribute filename.
-
#project_name ⇒ Object
readonly
Returns the value of attribute project_name.
Instance Method Summary collapse
-
#initialize(project_name, filename) ⇒ ProjectNotFoundError
constructor
A new instance of ProjectNotFoundError.
Constructor Details
#initialize(project_name, filename) ⇒ ProjectNotFoundError
Returns a new instance of ProjectNotFoundError.
7 8 9 10 11 12 |
# File 'lib/autoterm/errors.rb', line 7 def initialize(project_name, filename) super "Unable to find project '#{project_name}', tried to load #{filename}" @project_name = project_name @filename = filename end |
Instance Attribute Details
#filename ⇒ Object (readonly)
Returns the value of attribute filename.
5 6 7 |
# File 'lib/autoterm/errors.rb', line 5 def filename @filename end |
#project_name ⇒ Object (readonly)
Returns the value of attribute project_name.
5 6 7 |
# File 'lib/autoterm/errors.rb', line 5 def project_name @project_name end |