Exception: Migrator::MigratorNoOldnameError Private
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Migrator::MigratorNoOldnameError
- 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 a formula does not replace another formula.
Instance Method Summary collapse
-
#initialize(formula) ⇒ MigratorNoOldnameError
constructor
private
A new instance of MigratorNoOldnameError.
Constructor Details
#initialize(formula) ⇒ MigratorNoOldnameError
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 MigratorNoOldnameError.
26 27 28 |
# File 'Library/Homebrew/migrator.rb', line 26 def initialize(formula) super "#{formula.name} doesn't replace any formula." end |