# File lib/choices.rb, line 22 def with_local_settings(filename, env, suffix) local_filename = filename.sub(/(\.\w+)?$/, "#{suffix}\\1") if File.exists? local_filename hash = load_settings_hash(local_filename, env) yield hash if hash end end