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.
45 46 47 48 49 |
# File 'lib/docker/template/error.rb', line 45 def initialize(tar_gz) super "No data was given to the tar.gz file '#{ tar_gz.basename }'" end |