Skip to content

mikebannister/rbrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'

About

App config helpers for ruby apps.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages