Sha256: cad66d9ad85eab7aadbd7ada9601748c5f0c4a32389e81c779825fdc2a63c300

Contents?: true

Size: 397 Bytes

Versions: 5

Compression:

Stored size: 397 Bytes

Contents

module VagrantPhpstormTunnel
  class Config < Vagrant.plugin(2, :config)

    attr_accessor :project_home, :command_prefix

    def project_home=(path)
      @project_home = path
    end

    def command_prefix=(command)
      @command_prefix = command
    end

    def to_hash
      {
          :project_home => project_home,
          :command_prefix => command_prefix
      }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagrant-phpstorm-tunnel-0.1.11 lib/vagrant-phpstorm-tunnel/config.rb
vagrant-phpstorm-tunnel-0.1.10 lib/vagrant-phpstorm-tunnel/config.rb
vagrant-phpstorm-tunnel-0.1.9 lib/vagrant-phpstorm-tunnel/config.rb
vagrant-phpstorm-tunnel-0.1.8 lib/vagrant-phpstorm-tunnel/config.rb
vagrant-phpstorm-tunnel-0.1.7 lib/vagrant-phpstorm-tunnel/config.rb