yml file
defaults:
ttl: 1800
readonly: false
urlencode: false
c_threshold: 10000
compression: true
debug: false
namespace: lalala
sessions: false
fragments: true
servers: localhost:11212
benchmarking: true
>>YAML.load_file("file_name")
>>{"defaults"=>{"sessions"=>false, "ttl"=>1800, "readonly"=>false, "fragments"=>true, "c_threshold"=>10000, "benchmarking"=>true, "namespace"=>"youholder", "debug"=>false, "servers"=>"localhost:11212", "urlencode"=>false, "compression"=>true}}
沒有留言:
張貼留言