class Hash
def with_symbols!
- keys.each { |key| self[key.to_s.to_sym] = self[key] }
+ each_key { |key| self[key.to_s.to_sym] = self[key] }
self
end
end
-options = YAML.load(
+options = YAML.safe_load(
ERB.new(
IO.read(
File.dirname(__FILE__) + "/../../config/daemons.yml"