Buff::Config

Gem Version Build Status

A simple configuration class

Installation

Add this line to your application's Gemfile:

gem 'buff-config'

And then execute:

$ bundle

Or install it yourself as:

$ gem install buff-config

Usage

require 'buff/config/json'

class MyConfig < Buff::Config::JSON
  attribute 'chef.chef_server_url'
end

my_config = MyConfig.new
my_config.chef.chef_server_url #=> nil

Authors and Contributors

Thank you to all of our Contributors, testers, and users.