Class: Docker::Template::Error::RepoNotFound
- Inherits:
-
StandardError
- Object
- Docker::Template::Error::RepoNotFound
- Defined in:
- lib/docker/template/error.rb
Overview
–
Instance Method Summary collapse
-
#initialize(repo = nil) ⇒ RepoNotFound
constructor
A new instance of RepoNotFound.
Constructor Details
#initialize(repo = nil) ⇒ RepoNotFound
Returns a new instance of RepoNotFound.
79 80 81 82 83 84 |
# File 'lib/docker/template/error.rb', line 79 def initialize(repo = nil) ending = repo ? "the repo '#{repo}'" : "your repo folder" super "Unable to find #{ ending }" end |