Sha256: cd6888daba5fe76b6a30a816f64217000005e6568e52964042c2cd4935757bbc

Contents?: true

Size: 780 Bytes

Versions: 63

Compression:

Stored size: 780 Bytes

Contents

require "vagrant"

module VagrantPlugins
  module CommandRDP
    autoload :Errors, File.expand_path("../errors", __FILE__)

    class Plugin < Vagrant.plugin("2")
      name "rdp command"
      description <<-DESC
      The rdp command opens a remote desktop Window to the
      machine if it supports RDP.
      DESC

      command("rdp") do
        require File.expand_path("../command", __FILE__)
        init!
        Command
      end

      config("rdp") do
        require_relative "config"
        Config
      end

      protected

      def self.init!
        return if defined?(@_init)
        I18n.load_path << File.expand_path(
          "templates/locales/command_rdp.yml", Vagrant.source_root)
        I18n.reload!
        @_init = true
      end
    end
  end
end

Version data entries

63 entries across 56 versions & 8 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-272fb27e0536/plugins/commands/rdp/plugin.rb
vagrant-cloudstack-1.1.0 vendor/bundle/bundler/gems/vagrant-1cf2a8db4ccb/plugins/commands/rdp/plugin.rb
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/bundler/gems/vagrant-1e28f1ac31e7/plugins/commands/rdp/plugin.rb