class Beaker::Vagrant::MountFolder
Public Class Methods
new(name, spec)
click to toggle source
# File lib/beaker/hypervisor/vagrant/mount_folder.rb, line 3 def initialize(name, spec) @name = name @spec = spec end
Public Instance Methods
from()
click to toggle source
# File lib/beaker/hypervisor/vagrant/mount_folder.rb, line 12 def from @spec[:from] end
required_keys_present?()
click to toggle source
# File lib/beaker/hypervisor/vagrant/mount_folder.rb, line 8 def required_keys_present? not from.nil? and not to.nil? end
to()
click to toggle source
# File lib/beaker/hypervisor/vagrant/mount_folder.rb, line 16 def to @spec[:to] end