Exception: Swiftproj::NoSuchFileError
- Defined in:
- lib/swiftproj/error.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ NoSuchFileError
constructor
A new instance of NoSuchFileError.
- #message ⇒ Object
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
#message ⇒ Object
35 36 37 |
# File 'lib/swiftproj/error.rb', line 35 def () return "No such file: #{@path}" end |