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.



156
157
158
# File 'lib/lingo/error.rb', line 156

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



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

def name
  @name
end