Spec-Zone.ru › Homebrew

Exception: Migrator::MigratorNoOldpathError Private

Inherits:
RuntimeError
  • Object
  • RuntimeError
  • Migrator::MigratorNoOldpathError
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

  • #initialize(oldname) ⇒ void constructor private

Constructor Details

#initialize(oldname) ⇒ void

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.

Parameters:

  • oldname (String)


30
31
32
# File 'migrator.rb', line 30

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

© 2009–present Homebrew contributors
Licensed under the BSD 2-Clause License.
https://docs.brew.sh/rubydoc/Migrator/MigratorNoOldpathError.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API