samvera / hydra-works

A ruby gem implementation of the PCDM Works domain model based on the Samvera software stack
Other
24 stars 14 forks source link

text.file_sets.build should be a kind of FileSet #196

Closed jcoyne closed 9 years ago

jcoyne commented 9 years ago

Currently it's producing a AF::Base

grosscol commented 9 years ago

Is this still relevant after #232?

require 'hydra/works'
include Hydra::Works
gw = GenericWork.new
gw.file_sets.build #=> NoMethodError: undefined method `build' for []:Array