use global namespace for class IO naming conflict

This commit is contained in:
Matt Way 2014-03-12 07:52:11 -04:00
parent 240523b1aa
commit 16d093dc8a
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module VagrantPlugins
machine.communicate.download("/tmp/vagrant.interfaces",tmpints)
devlist = []
ints = IO.read(tmpints)
ints = ::IO.read(tmpints)
ints.split(/\n\n/m).each do |i|
if i.match(/Hardware/) and not i.match(/Ethernet/).nil?
devmap = {}