Exception: Migrator::MigratorNoOldnameError

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

Instance Method Summary collapse

Constructor Details

#initialize(formula) ⇒ MigratorNoOldnameError

Returns a new instance of MigratorNoOldnameError



18
19
20
# File 'brew/Library/Homebrew/migrator.rb', line 18

def initialize(formula)
  super "#{formula.name} doesn't replace any formula."
end