Exception: Hatchet::BadRepoName
- Inherits:
-
StandardError
- Object
- StandardError
- Hatchet::BadRepoName
- Defined in:
- lib/hatchet/config.rb
Instance Method Summary collapse
-
#initialize(name, paths) ⇒ BadRepoName
constructor
A new instance of BadRepoName.
Constructor Details
#initialize(name, paths) ⇒ BadRepoName
Returns a new instance of BadRepoName.
9 10 11 12 13 14 15 |
# File 'lib/hatchet/config.rb', line 9 def initialize(name, paths) msg = "could not find repo: '#{name}', check for spelling or " << "duplicate repos. Run `$ hatchet list` to see all " << "repo options. Checked in #{paths.inspect}. \n\n" << " make sure repos are installed by running `$ hatchet install`" super(msg) end |