Exception: Lingo::NoWritableStoreError
- Inherits:
-
StoreError
- Object
- StandardError
- LingoError
- StoreError
- Lingo::NoWritableStoreError
- Defined in:
- lib/lingo/error.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(file, path) ⇒ NoWritableStoreError
constructor
A new instance of NoWritableStoreError.
- #to_s ⇒ Object
Methods inherited from LingoError
Constructor Details
#initialize(file, path) ⇒ NoWritableStoreError
49 50 51 |
# File 'lib/lingo/error.rb', line 49 def initialize(file, path) @file, @path = file, path end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
47 48 49 |
# File 'lib/lingo/error.rb', line 47 def file @file end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
47 48 49 |
# File 'lib/lingo/error.rb', line 47 def path @path end |
Instance Method Details
#to_s ⇒ Object
53 54 55 |
# File 'lib/lingo/error.rb', line 53 def to_s 'No writable store found in search path.' end |