Sha256: 2b5420c285d1353c22c0c123c94d3779f988311a6f2a222882748bac71f6d4b6

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 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

1 entries across 1 versions & 1 rubygems

Version Path
dor-services-5.2.0 lib/dor/models/assembleable.rb