Sha256: 006a6db85f472a9fc52b9f46d1bfbbcc582cb9e63ba6c9e1f0bd2b8ab7c9ebd3
Contents?: true
Size: 439 Bytes
Versions: 8
Compression:
Stored size: 439 Bytes
Contents
module Rivendell::Import::Tasking module File def file=(file) if file @file = file self.file_name = file.name self.file_path = file.path else @file = nil self.file_name = self.file_path = nil end end def file @file ||= Rivendell::Import::File.new(file_name, :path => file_path) end def delete_file! self.delete_file = true end end end
Version data entries
8 entries across 8 versions & 1 rubygems