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
47 48 49 |
# File 'lib/lingo/error.rb', line 47 def initialize(file, path) @file, @path = file, path end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
45 46 47 |
# File 'lib/lingo/error.rb', line 45 def file @file end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
45 46 47 |
# File 'lib/lingo/error.rb', line 45 def path @path end |
Instance Method Details
#to_s ⇒ Object
51 52 53 |
# File 'lib/lingo/error.rb', line 51 def to_s 'No writable store found in search path.' end |