Sha256: ad6701ee49ad6d5082ef409c265457cc72c5e04d4b56a68efc9e25315b0033f9

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

module RSpecSystem
  # Factory class for NodeSet.
  class NodeSet
    # Returns a NodeSet object.
    def self.create(setname, config, virtual_env)
      case(virtual_env)
      when 'vagrant'
        RSpecSystem::NodeSet::Vagrant.new(setname, config)
      else
        raise "Unsupported virtual environment #{virtual_env}"
      end
    end
  end
end

require 'rspec-system/node_set/base'
require 'rspec-system/node_set/vagrant'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rspec-system-0.1.3 lib/rspec-system/node_set.rb
rspec-system-0.1.2 lib/rspec-system/node_set.rb
rspec-system-0.1.1 lib/rspec-system/node_set.rb
rspec-system-0.1.0 lib/rspec-system/node_set.rb
rspec-system-0.0.2 lib/rspec-system/node_set.rb