lib/active_fedora/rdf/term.rb
# Converts an object to the appropriate class.
Converts an object to the appropriate class.
Converts an object to the appropriate class .
def convert_object(value)
      value = value.object if value.kind_of? RDF::Literal
      value = make_node(value) if value.kind_of? RDF::Resource
      value
    end
def convert_object ( value ) value = value . object if value . kind_of? RDF :: Literal value = make_node ( value ) if value . kind_of? RDF :: Resource value end
Converts an object to the appropriate class.
Converts an object to the appropriate class .
value