Exception: Docker::Template::Error::BadExitStatus
- Defined in:
- lib/docker/template/error/bad_exit_status.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ BadExitStatus
constructor
A new instance of BadExitStatus.
Constructor Details
#initialize(status) ⇒ BadExitStatus
Returns a new instance of BadExitStatus.
11 12 13 |
# File 'lib/docker/template/error/bad_exit_status.rb', line 11 def initialize(status) super "Got bad exit status #{@status = status}" end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
9 10 11 |
# File 'lib/docker/template/error/bad_exit_status.rb', line 9 def status @status end |