You need to include the module to use the class without ::s.

This commit is contained in:
Frank Shearar 2013-05-22 16:29:58 +01:00
parent caf4ea722e
commit 2eb97b518c
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ module VagrantPlugins
module GuestArch module GuestArch
module Cap module Cap
class ConfigureNetworks class ConfigureNetworks
include Vagrant::Util
def self.configure_networks(machine, networks) def self.configure_networks(machine, networks)
networks.each do |network| networks.each do |network|
entry = TemplateRenderer.render("guests/arch/network_#{network[:type]}", entry = TemplateRenderer.render("guests/arch/network_#{network[:type]}",