Exception: LocalDevelopmentGateway::DockerError
- Defined in:
- lib/local_development_gateway.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(command, output) ⇒ DockerError
constructor
A new instance of DockerError.
Constructor Details
#initialize(command, output) ⇒ DockerError
Returns a new instance of DockerError.
21 22 23 24 25 |
# File 'lib/local_development_gateway.rb', line 21 def initialize(command, output) @command = command @output = output super("Docker command failed: #{command.join(" ")}\n#{output}") end |
Instance Attribute Details
#command ⇒ Object (readonly)
Returns the value of attribute command.
19 20 21 |
# File 'lib/local_development_gateway.rb', line 19 def command @command end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
19 20 21 |
# File 'lib/local_development_gateway.rb', line 19 def output @output end |