Exception: Migrator::MigratorNoOldpathError Private

Inherits:
RuntimeError
  • Object
show all
Defined in:
Library/Homebrew/migrator.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Error for when the old name's path does not exist.

Instance Method Summary collapse

Constructor Details

#initialize(formula) ⇒ MigratorNoOldpathError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of MigratorNoOldpathError.


33
34
35
# File 'Library/Homebrew/migrator.rb', line 33

def initialize(formula)
  super "#{HOMEBREW_CELLAR/formula.oldname} doesn't exist."
end