Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

It makes keeping config information pretty easy.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE.md
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 keep.gemspec
README.md

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.

Something went wrong with that request. Please try again.