Sha256: d43fb14fcf660c52115fb92cae8acad0d9037d6734adb2203b1c51ee375e8c62

Contents?: true

Size: 278 Bytes

Versions: 4

Compression:

Stored size: 278 Bytes

Contents

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

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

    def from
      @spec[:from]
    end

    def to
      @spec[:to]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
beaker-vagrant-1.3.0 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-1.2.0 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-1.1.0 lib/beaker/hypervisor/vagrant/mount_folder.rb
beaker-vagrant-1.0.0 lib/beaker/hypervisor/vagrant/mount_folder.rb