Update setting.rb: add acccess method like setting.key