Exception: Swiftproj::NoSuchFileError

Inherits:
Error
  • Object
show all
Defined in:
lib/swiftproj/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ NoSuchFileError

Returns a new instance of NoSuchFileError.



31
32
33
# File 'lib/swiftproj/error.rb', line 31

def initialize(path)
  @path = path
end

Instance Method Details

#messageObject



35
36
37
# File 'lib/swiftproj/error.rb', line 35

def message()
  return "No such file: #{@path}"
end