lib/eco/api/common/session/file_manager.rb in eco-helpers-0.7.2 vs lib/eco/api/common/session/file_manager.rb in eco-helpers-0.8.1
- old
+ new
@@ -11,10 +11,10 @@
def initialize(init = {}, enviro: nil)
@enviro = enviro
init = @enviro.config if @enviro && init.empty?
@timestamp_pattern = init.files.timestamp_pattern || DEFAULT_TIMESTAMP_PATTERN
- self.dir_path = init.files.working_directory || Dir.pwd
+ self.dir_path = init.working_directory || Dir.pwd
end
def dir_path=(value)
begin
@dir = Eco::Data::Files::Directory.new(value)