Sha256: 414da63efee2aca40bc0dc90e3aea32938ecc722a876421f05f9c0b5a0f2b768
Contents?: true
Size: 539 Bytes
Versions: 16
Compression:
Stored size: 539 Bytes
Contents
require "pathname" require "vagrant-nfs_guest/plugin" module VagrantPlugins module SyncedFolderNFSGuest lib_path = Pathname.new(File.expand_path("../vagrant-nfs_guest", __FILE__)) autoload :Errors, lib_path.join("errors") # This returns the path to the source of this plugin. # # @return [Pathname] def self.source_root @source_root ||= Pathname.new(File.expand_path("../../", __FILE__)) end I18n.load_path << File.expand_path("templates/locales/en.yml", source_root) I18n.reload! end end
Version data entries
16 entries across 16 versions & 2 rubygems