Class: Docker::Template::Error::InvalidYAMLFile
- Inherits:
-
StandardError
- Object
- Docker::Template::Error::InvalidYAMLFile
- Defined in:
- lib/docker/template/error.rb
Overview
–
Instance Method Summary collapse
-
#initialize(file) ⇒ InvalidYAMLFile
constructor
A new instance of InvalidYAMLFile.
Constructor Details
#initialize(file) ⇒ InvalidYAMLFile
Returns a new instance of InvalidYAMLFile.
55 56 57 |
# File 'lib/docker/template/error.rb', line 55 def initialize(file) super "The yaml data provided by #{file} is invalid and not a hash." end |