Module: Specinfra::Helper::Lxc

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

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



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

def self.included(klass)
  require 'lxc/extra' unless defined?(::LXC::Extra)
rescue LoadError
  fail "LXC client library is not available. Try installing `ruby-lxc' gem."
end