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



49
50
51
# File 'lib/lingo/error.rb', line 49

def initialize(file, path)
  @file, @path = file, path
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



47
48
49
# File 'lib/lingo/error.rb', line 47

def file
  @file
end

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



53
54
55
# File 'lib/lingo/error.rb', line 53

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