Sha256: bac50f06a8616cf9f51c76d45785a6c2679c26b42670d6385501e1ff1004041e
Contents?: true
Size: 751 Bytes
Versions: 12
Compression:
Stored size: 751 Bytes
Contents
module RSpecSystem # Factory class for NodeSet. class NodeSet # Returns a NodeSet object. # # @return [RSpecSystem::NodeSet::Base] returns an object based on the Base # abstract class. def self.create(setname, config, virtual_env, custom_prefabs_path, options) case(virtual_env) when 'vagrant' RSpecSystem::NodeSet::Vagrant.new(setname, config, custom_prefabs_path, options) when 'vsphere' RSpecSystem::NodeSet::Vsphere.new(setname, config, custom_prefabs_path, options) else raise "Unsupported virtual environment #{virtual_env}" end end end end require 'rspec-system/node_set/base' require 'rspec-system/node_set/vagrant' require 'rspec-system/node_set/vsphere'
Version data entries
12 entries across 12 versions & 1 rubygems