Exception: Lingo::FileError

Inherits:
LingoError
  • Object
show all
Defined in:
lib/lingo/error.rb

Direct Known Subclasses

FileExistsError, FileNotFoundError

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from LingoError

#class_name, #error

Constructor Details

#initialize(name) ⇒ FileError

Returns a new instance of FileError.



154
155
156
# File 'lib/lingo/error.rb', line 154

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



152
153
154
# File 'lib/lingo/error.rb', line 152

def name
  @name
end