Quick Config

ruby gem

A quick and easy way to set and access configuration data in your Ruby applications.

1. Install

add to your .Gemfile

gem 'quick_config'

$ bundle
... or install directly
gem install quick_config

2. Use

quick_config_test.rb

require 'quick_config'

QuickConfig.set do
  property :name, "K"
  property :age, 12  
end

puts QuickConfig.age
puts QuickConfig.name

3. Extend

Do contribute. Fork the source code and extend it with your own features!

Go ยป