Exception: Baha::DockerfileParseError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Baha::DockerfileParseError
- Defined in:
- lib/baha/dockerfile.rb
Instance Attribute Summary collapse
-
#file ⇒ Object
readonly
Returns the value of attribute file.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(file, line, text) ⇒ DockerfileParseError
constructor
A new instance of DockerfileParseError.
Constructor Details
#initialize(file, line, text) ⇒ DockerfileParseError
Returns a new instance of DockerfileParseError.
12 13 14 15 16 17 |
# File 'lib/baha/dockerfile.rb', line 12 def initialize(file,line, text) super("Unable to parse Dockerfile #{file}:#{line}\n#{text}") @file = file @line = line @text = text end |
Instance Attribute Details
#file ⇒ Object (readonly)
Returns the value of attribute file.
11 12 13 |
# File 'lib/baha/dockerfile.rb', line 11 def file @file end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
11 12 13 |
# File 'lib/baha/dockerfile.rb', line 11 def line @line end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
11 12 13 |
# File 'lib/baha/dockerfile.rb', line 11 def text @text end |