Sha256: 48501d0401378664700663d086bb21e1e6ddb3a5ba7bb1f077ef41074a13ca1e
Contents?: true
Size: 677 Bytes
Versions: 7
Compression:
Stored size: 677 Bytes
Contents
module VagrantPlugins module ProviderLibvirt module Util module Ui # Since v2.2.8 Vagrant support --no-tty option, which silences # progress bars and other interactive elements for cleaner logs # in scripts, but requires a slight change in UI object handling. # This helper allows the vagrant-libvirt plugin to stay compatible # with the older Vagrant versions. # See: https://github.com/hashicorp/vagrant/pull/11465/ def rewriting(ui) if ui.respond_to?(:rewriting) ui.rewriting {|rw| yield rw} else yield ui end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems