Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 485 Bytes

README.md

File metadata and controls

31 lines (17 loc) · 485 Bytes

rbrc

App config helpers for ruby apps.

Install

Install with gem

gem install rbrc

Or add to your Gemfile

gem 'rbrc'

Or get it from master

git clone 'https://github.com/mikebannister/rbrc
cd rbrc
gem install ./rbrc.gemspec

Usage

Register a config file somewhere in your app

require 'rbrc'

Rbrc::Config.register(:my_app)

Now you can access the config file values like this

Rbrc::Config.my_app.password #=> 'secret_password'