Module: Specinfra::Helper::Docker

Defined in:
lib/specinfra/helper/docker.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object


4
5
6
7
8
# File 'lib/specinfra/helper/docker.rb', line 4

def self.included(klass)
  require 'docker' unless defined?(::Docker)
rescue LoadError
  fail "Docker client library is not available. Try installing `docker-api' gem."
end