Module: Dockerspec::Runner::Serverspec::Base
Overview
Base class to be included by Serverspec runners.
Instance Attribute Summary collapse
-
#backend_name ⇒ Symbol
readonly
The Specinfra backend name to use.
Instance Method Summary collapse
-
#finalize ⇒ Object
Stops and deletes the Docker Container.
-
#to_s ⇒ String
private
Generates a description of the object.
Instance Attribute Details
#backend_name ⇒ Symbol (readonly)
The Specinfra backend name to use.
57 58 59 |
# File 'lib/dockerspec/runner/serverspec/base.rb', line 57 def backend_name @backend_name end |
Instance Method Details
#finalize ⇒ Object
Stops and deletes the Docker Container.
Actually does nothing. Do no delete anything, lets Specinfra do that.
68 69 70 |
# File 'lib/dockerspec/runner/serverspec/base.rb', line 68 def finalize # Do not stop the container end |
#to_s ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Generates a description of the object.
85 86 87 |
# File 'lib/dockerspec/runner/serverspec/base.rb', line 85 def to_s description('Serverspec on') end |