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.
24 25 26 27 28 |
# File 'lib/local_development_gateway.rb', line 24 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.
22 23 24 |
# File 'lib/local_development_gateway.rb', line 22 def command @command end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
22 23 24 |
# File 'lib/local_development_gateway.rb', line 22 def output @output end |