lib/openwfe/engine/file_persisted_engine.rb in openwferu-0.9.3 vs lib/openwfe/engine/file_persisted_engine.rb in openwferu-0.9.4

- old
+ new

@@ -1,8 +1,8 @@ # #-- -# Copyright (c) 2006-2007, Nicolas Modryzk, OpenWFE.org +# Copyright (c) 2006-2007, Nicolas Modryzk and John Mettraux, OpenWFE.org # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # @@ -50,17 +50,15 @@ # An engine persisted to a tree of yaml files # class FilePersistedEngine < Engine # - # overrides the method already found in Engine with a persisted + # Overrides the method already found in Engine with a persisted # expression storage # def build_expression_storage () - #FileExpressionStorage \ - # .new(S_EXPRESSION_STORAGE, @application_context, ENV['HOME']) - @application_context[:file_expression_storage_path] = "./work" + @application_context[:work_directory] = "./work" init_service(S_EXPRESSION_STORAGE, YamlFileExpressionStorage) end end