Class: VagrantPlugins::CapistranoPush::Plugin

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-capistrano-push/plugin.rb

Class Method Summary collapse

Class Method Details

.init!Object



35
36
37
38
39
40
# File 'lib/vagrant-capistrano-push/plugin.rb', line 35

def self.init!
  return if defined?(@_init)
  I18n.load_path << File.expand_path("locales/en.yml", CapistranoPush.source_root)
  I18n.reload!
  @_init = true
end