Browse files

change config_paths to load_paths

  • Loading branch information...
1 parent c73a8d3 commit 53892107e83ce686aaea3d6740e0edd8d6cc4672 Leif Gensert committed Jul 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rdoc
2 README.rdoc
@@ -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 5389210

Please sign in to comment.