vagrant/plugins/kernel_v2/config/vagrant.rb

23 lines
380 B
Ruby
Raw Normal View History

2012-11-07 05:28:44 +00:00
require "vagrant"
module VagrantPlugins
module Kernel_V2
class VagrantConfig < Vagrant.plugin("2", :config)
attr_accessor :host
def initialize
@host = UNSET_VALUE
end
def finalize!
@host = :detect if @host == UNSET_VALUE
@host = @host.to_sym if @host
end
def to_s
"Vagrant"
end
2012-11-07 05:28:44 +00:00
end
end
end