Sha256: 2182f27b2302594d0afa5aae54bc62116a3214a95eeae064591f7a1be457f8d4
Contents?: true
Size: 587 Bytes
Versions: 9
Compression:
Stored size: 587 Bytes
Contents
require "vagrant" module VagrantPlugins module Registration class Config < Vagrant.plugin("2", :config) # @return [Vagrant::UI::Colored] attr_accessor :ui def initialize(region_specific=false) vagrant_version = Gem::Version.new(::Vagrant::VERSION) if vagrant_version >= Gem::Version.new("1.5") @ui = ::Vagrant::UI::Colored.new @ui.opts[:target] = 'Registration' elsif vagrant_version >= Gem::Version.new("1.2") @ui = ::Vagrant::UI::Colored.new.scope('Registration') end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems