Sha256: ff6fea0b68aaf8e57016c9b89cae781554320a0199ebf56b49b0965e238fc4b3

Contents?: true

Size: 606 Bytes

Versions: 17

Compression:

Stored size: 606 Bytes

Contents

require 'vagrant'

module ConfigBuilder
  require 'config_builder/loader'
  require 'config_builder/model'
  require 'config_builder/runner'
  require 'config_builder/plugin'
  require 'config_builder/version'

  def self.load(identifier, method, value)
    runner = ConfigBuilder::Runner.new
    runner.run(identifier, method, value)
  end

  def self.source_root
    @source_root ||= File.expand_path('..', __FILE__)
  end

  def self.template_root
    @template_root ||= File.expand_path('../templates', source_root)
  end
end

I18n.load_path << File.join(ConfigBuilder.template_root, 'locales/en.yml')

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
vagrant-config_builder-0.14.0 lib/config_builder.rb
vagrant-config_builder-0.13.0 lib/config_builder.rb
vagrant-masonry-0.13.0 lib/config_builder.rb
vagrant-config_builder-0.12.0 lib/config_builder.rb
vagrant-config_builder-0.11.0 lib/config_builder.rb
vagrant-config_builder-0.10.1 lib/config_builder.rb
vagrant-config_builder-0.10.0 lib/config_builder.rb
vagrant-config_builder-0.9.0 lib/config_builder.rb
vagrant-config_builder-0.8.0 lib/config_builder.rb
vagrant-config_builder-0.7.1 lib/config_builder.rb
vagrant-config_builder-0.7.0 lib/config_builder.rb
vagrant-config_builder-0.6.0 lib/config_builder.rb
vagrant-config_builder-0.5.0 lib/config_builder.rb
vagrant-config_builder-0.4.0 lib/config_builder.rb
vagrant-config_builder-0.3.1 lib/config_builder.rb
vagrant-config_builder-0.3.0 lib/config_builder.rb
vagrant-config_builder-0.2.0 lib/config_builder.rb