Exception: Goodcheck::ImportLoader::FileNotFound

Inherits:
Error
  • Object
show all
Defined in:
lib/goodcheck/import_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ FileNotFound

Returns a new instance of FileNotFound.



15
16
17
18
# File 'lib/goodcheck/import_loader.rb', line 15

def initialize(path)
  super("No such a file: #{path}")
  @path = path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



13
14
15
# File 'lib/goodcheck/import_loader.rb', line 13

def path
  @path
end