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.



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