Sha256: 012270cf5f55fa8487c74a2a5efe5ec509003cefdac344b5e4b7e69188b56586
Contents?: true
Size: 631 Bytes
Versions: 80
Compression:
Stored size: 631 Bytes
Contents
module ActiveFedora::Aggregation class Proxy < ActiveFedora::Base belongs_to :container, predicate: ::RDF::Vocab::ORE.proxyIn, class_name: 'ActiveFedora::Base' belongs_to :target, predicate: ::RDF::Vocab::ORE.proxyFor, class_name: 'ActiveFedora::Base' belongs_to :next, predicate: ::RDF::Vocab::IANA.next, class_name: 'ActiveFedora::Aggregation::Proxy' belongs_to :prev, predicate: ::RDF::Vocab::IANA.prev, class_name: 'ActiveFedora::Aggregation::Proxy' type ::RDF::Vocab::ORE.Proxy def as_list if self.next [self] + self.next.as_list else [self] end end end end
Version data entries
80 entries across 80 versions & 2 rubygems