ResearchObject / ro-crate-ruby

A Ruby gem for creating, manipulating and reading RO-Crates.
MIT License
1 stars 2 forks source link

Cannot bulk add to root of crate #7

Closed fbacall closed 3 years ago

fbacall commented 4 years ago

There needs to be a way to bulk-add a directory to the root of a crate, without having to create data entities for each thing.

e.g.

crate.add_directory('/some/dir', '.')

Should add the contents of /some/dir/ to the root.

(Currently it puts them in a folder literally named .)