Sha256: 2e3cffb8f5257fb2dca9c59e46f429e62923625dbe0cc630ac20c4a7c758fadd

Contents?: true

Size: 698 Bytes

Versions: 1

Compression:

Stored size: 698 Bytes

Contents

# Korben

A really simple configuration tool

## Installation

Add this line to your application's Gemfile:

    gem 'korben'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install korben

## Usage

Add configuration to initializers files k_config.rb

    KConfig.setup do |config| 
      config.const_name = "MyConf"
    end
    MyConf.load!( { foo: 'bar' } )

Anywhere in your code have access to

    MyConf.foo => 'bar'
        
## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
korben-0.0.3 README.md