Class: Docker::Template::Error::InvalidTargzFile
- Inherits:
-
StandardError
- Object
- Docker::Template::Error::InvalidTargzFile
- Defined in:
- lib/docker/template/error.rb
Overview
Instance Method Summary collapse
-
#initialize(tar_gz) ⇒ InvalidTargzFile
constructor
A new instance of InvalidTargzFile.
Constructor Details
#initialize(tar_gz) ⇒ InvalidTargzFile
Returns a new instance of InvalidTargzFile.
60 61 62 63 64 |
# File 'lib/docker/template/error.rb', line 60 def initialize(tar_gz) super "No data was given to the tar.gz file '#{ tar_gz.basename }'" end |