ResearchObject / ro-crate-ruby

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

Update predefined getter/setter methods #19

Open fbacall opened 3 years ago

fbacall commented 3 years ago

For each Entity subclass, decide which methods should be there, and find a way to document them in yard.

See: #18

paulwalk commented 3 years ago

I think this is directly related to this issue, so I won't raise a separate one: the HTML Preview makes use of methods such as name and author which do not work. My workaround is to use a custom template and substitute (e.g.):

metadata.properties['author'] for author metadata.name for name