Class: Docker::Template::Error::InvalidTargzFile

Inherits:
StandardError
  • Object
show all
Defined in:
lib/docker/template/error.rb

Overview


Instance Method Summary collapse

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