Exception: Lingo::NoWritableStoreError

Inherits:
StoreError show all
Defined in:
lib/lingo/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LingoError

#class_name, #error

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

#fileObject (readonly)

Returns the value of attribute file.



45
46
47
# File 'lib/lingo/error.rb', line 45

def file
  @file
end

#pathObject (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_sObject



51
52
53
# File 'lib/lingo/error.rb', line 51

def to_s
  'No writable store found in search path.'
end