Exception: Migrator::MigratorNoOldpathError Private

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

Overview

This class is part of a private API. This class may only be used in the Homebrew/brew repository. Third parties should avoid using this class if possible, as it may be removed or changed without warning.

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. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns a new instance of MigratorNoOldpathError.



35
36
37
# File 'migrator.rb', line 35

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