Skip to content
This repository has been archived by the owner. It is now read-only.
A simple configuration class
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
.rspec
.ruby-version
.travis.yml
CONTRIBUTING.md
Gemfile
Guardfile
LICENSE
README.md
Thorfile
buff-config.gemspec

README.md

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.

You can’t perform that action at this time.