https://github.com/holman/keep
It makes keeping config information pretty easy.
https://github.com/holman/keep
Last synced: 8 months ago
JSON representation
It makes keeping config information pretty easy.
- Host: GitHub
- URL: https://github.com/holman/keep
- Owner: holman
- License: mit
- Created: 2011-02-18T07:38:50.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-06-01T21:39:47.000Z (about 15 years ago)
- Last Synced: 2025-10-07T21:59:50.842Z (8 months ago)
- Language: Ruby
- Homepage:
- Size: 93.8 KB
- Stars: 13
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Keep
It makes keeping config information pretty easy.
## Install
gem install keep
## Usage
require 'keep'
keep = Keep.new('config/settings.yml')
keep.set(:password,'Ellen Page')
keep.get(:password)
Just tell Keep where to keep things, then tell it a key and what the value is.
Keep currently serializes to YAML (although different backends are likely to
come next- pull requests welcome).
## More
keep = Keep.new('config/settings.yml')
keep.present?(:password) # => 'Ellen Page'
keep.keys # => ['Ellen Page']
## Other important information
Nothing else is important.