Permalink
Browse files

Merge pull request #4 from leifg/master

Leif, you are correct, config_paths should be load_paths. It appears I overlooked  the README file when I made the change. I am accepting the pull request. Thanks. Again.
  • Loading branch information...
2 parents c73a8d3 + 5389210 commit 7e32fc6fe8d01b6f1d700c52543e93e066aa2990 @rahmal committed Jul 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
View
@@ -65,7 +65,7 @@ Starting with version 0.4.0, RConfig requires at least Ruby 1.9, and Rails 3. Pr
demo.rb =>
require 'rconfig'
- RConfig.config_paths = ['$HOME/config', '#{APP_ROOT}/config', '/demo/conf']
+ RConfig.load_paths = ['$HOME/config', '#{APP_ROOT}/config', '/demo/conf']
RConfig.demo[:server][:port] => 81
RConfig.demo.server.address => 'host.domain.com'
RConfig.demo.server.host => 'host.local'

0 comments on commit 7e32fc6

Please sign in to comment.