Start adding updates for remote environment in ruby runtime
This commit is contained in:
parent
95fe1723b8
commit
6994f5d5a7
@ -19,6 +19,8 @@ module Vagrant
|
||||
# etc. In day-to-day usage, every `vagrant` invocation typically
|
||||
# leads to a single Vagrant environment.
|
||||
class Environment
|
||||
autoload :Remote, "vagrant/environment/remote"
|
||||
|
||||
# This is the current version that this version of Vagrant is
|
||||
# compatible with in the home directory.
|
||||
#
|
||||
|
||||
17
lib/vagrant/environment/remote.rb
Normal file
17
lib/vagrant/environment/remote.rb
Normal file
@ -0,0 +1,17 @@
|
||||
module Vagrant
|
||||
class Environment
|
||||
module Remote
|
||||
|
||||
def self.prepended(klass)
|
||||
klass.class_eval do
|
||||
attr_reader :client
|
||||
end
|
||||
end
|
||||
|
||||
def initialize(opts={})
|
||||
super
|
||||
@client = opts[:client]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user