Sha256: 17b649b73f277e250d511b9a7d9486e59ab07e69457dfee6e512b172414f8933

Contents?: true

Size: 284 Bytes

Versions: 11

Compression:

Stored size: 284 Bytes

Contents

module Beaker
  class Vagrant::MountFolder
    def initialize(name, spec)
      @name = name
      @spec = spec
    end

    def required_keys_present?
      not from.nil? and not to.nil?
    end

    def from
      @spec[:from]
    end

    def to
      @spec[:to]
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
beaker-vagrant-0.7.1 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.7.0 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.7 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.6 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.5 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.4 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.3 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.2 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.1 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.6.0 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-0.5.0 lib/beaker/hypervisor/vagrant/mount_folder.rb