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.
70 71 72 |
# File 'lib/docker/template/error.rb', line 70 def initialize(file) super "The yaml data provided by #{file} is invalid and not a hash." end |