lib/rasti/app/settings.rb in rasti-app-3.0.0 vs lib/rasti/app/settings.rb in rasti-app-4.0.0
- old
+ new
@@ -6,10 +6,10 @@
def load(environment)
load_file File.join(Dir.pwd, "#{environment}.yml")
end
def load_file(filename)
- Hash::Accessible.new evaluate(File.read(filename))
+ Hash::Accessible.new(evaluate(File.read(filename))).deep_freeze
end
private
def evaluate(yml)
\ No newline at end of file