Class: VagrantPlugins::Blocker::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant_blocker/plugin.rb

Overview

Vagrant plugin that allows machines to block eachother from running simultaneously

Class Method Summary collapse

Class Method Details

.init!Object



30
31
32
33
34
35
# File 'lib/vagrant_blocker/plugin.rb', line 30

def self.init!
  return if defined?(@_init)
  I18n.load_path << File.expand_path(File.dirname(__FILE__) + '/../../locales/en.yml')
  I18n.reload!
  @_init = true
end