Sha256: 7b53ee1ec7acf513766d11970fd20cc874f0edf89652d9b6c36acfbbd63bb314

Contents?: true

Size: 349 Bytes

Versions: 4

Compression:

Stored size: 349 Bytes

Contents


module VagrantDns
  
  class Configuration
     extend Forwardable
    def_delegator :@store, :store, :set
    def_delegator :@store, :load, :get
    def_delegator :@store, :delete, :delete

    def initialize
      @store = Moneta.new(:YAML,:file => "#{ENV['HOME']}/.vagrant_dns.yaml")
    end
 	
  end

end

CONF = VagrantDns::Configuration.new

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-dns-server-0.4.1 lib/vagrant_dns/configuration.rb
vagrant-dns-server-0.4 lib/vagrant_dns/configuration.rb
vagrant-dns-server-0.3 lib/vagrant_dns/configuration.rb
vagrant-dns-server-0.2 lib/vagrant_dns/configuration.rb