Sha256: 53a8d97983a87d7e2ce632e0d2295c1685451dd5c3961e5ae27e95874135dca1

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

module ActiveFedora
  module Associations
    class SingularRDF < RDF # :nodoc:
      def replace(value)
        super(Array(value))
      end

      def reader
        super.first
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
active-fedora-15.0.1 lib/active_fedora/associations/singular_rdf.rb
active-fedora-15.0.0 lib/active_fedora/associations/singular_rdf.rb
active-fedora-14.0.1 lib/active_fedora/associations/singular_rdf.rb
active-fedora-14.0.0 lib/active_fedora/associations/singular_rdf.rb