Exception: Oym::Errors::FileMissingError

Inherits:
BaseError
  • Object
show all
Defined in:
lib/oym/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ FileMissingError

Returns a new instance of FileMissingError.



7
8
9
# File 'lib/oym/errors.rb', line 7

def initialize(path)
  @path = path
end

Instance Method Details

#messageObject



11
12
13
# File 'lib/oym/errors.rb', line 11

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