Sha256: becdc28eabafa891deda82871ec3230a1ea66098ac96a29fa8e11e38110382bb

Contents?: true

Size: 300 Bytes

Versions: 4

Compression:

Stored size: 300 Bytes

Contents

module Vagrant
  module SshFS
    class Config < Vagrant.plugin(2, :config)
      attr_accessor :paths

      def initialize
        @paths = {}
      end

      def merge(other)
        super.tap do |result|
          result.paths = @paths.merge(other.paths)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-sshfs-0.0.3 lib/vagrant-sshfs/config.rb
vagrant-sshfs-0.0.3.beta1 lib/vagrant-sshfs/config.rb
vagrant-sshfs-0.0.2.beta1 lib/vagrant-sshfs/config.rb
vagrant-sshfs-0.0.1 lib/vagrant-sshfs/config.rb