railsmonk / configuration-file-plugin
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
commit 2a72554c431b8da4a19c0e46ec1179def4d78e9f
tree 310bd230b75329e2a12e3df122d3ee8db3b4c1a2
parent c10c4428b8d59d81e3a09d74430669a4e15d8c0b
tree 310bd230b75329e2a12e3df122d3ee8db3b4c1a2
parent c10c4428b8d59d81e3a09d74430669a4e15d8c0b
README
Plugin implementing configuration files with simple substitutions.
= Sample usage
SITE_CONF = ConfigurationFile.new("/some/config.yml)
p SITE_CONF.config_key1
= Sample config
root: "/var/spool"
storage_path: "#{root}/storage"
storage_uid: 502
storage_gid: 502
(c) Dima Sabanin
http://railsmonk.com
