Project

rbrc

0.0
No commit activity in last 3 years
No release in over 3 years
App config helpers for ruby apps.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.4.0
~> 0.4.5
~> 0.10.0
~> 2.6.0

Runtime

~> 0.6.0
~> 0.5.2
 Project Readme

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'