Exception: Migrator::MigratorNoOldpathError Private
- 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
-
#initialize(oldname) ⇒ MigratorNoOldpathError
constructor
private
A new instance of MigratorNoOldpathError.
Constructor Details
#initialize(oldname) ⇒ 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.
24 25 26 |
# File 'migrator.rb', line 24 def initialize(oldname) super "#{HOMEBREW_CELLAR/oldname} doesn't exist." end |