Sha256: 65c7dfe69f57456299f7166dcdbf24d8c83f14eac5f88af42cb8c819a1a6adb7

Contents?: true

Size: 286 Bytes

Versions: 5

Compression:

Stored size: 286 Bytes

Contents

module Dor
  module Assembleable
    
    def initialize_workspace(source=nil)
      druid = DruidTools::Druid.new(self.pid, Config.stacks.local_workspace_root)
      if(source.nil?)
        druid.mkdir
      else
        druid.mkdir_with_final_link(source)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dor-services-5.1.1 lib/dor/models/assembleable.rb
dor-services-5.1.0 lib/dor/models/assembleable.rb
dor-services-5.0.2 lib/dor/models/assembleable.rb
dor-services-5.0.1 lib/dor/models/assembleable.rb
dor-services-5.0.0 lib/dor/models/assembleable.rb