Cross Reference: distributed_ontology.rb
xref
: /
ontohub
/
app
/
models
/
distributed_ontology.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
distributed_ontology.rb revision 3d97869afe59355cbe85b6af291ef538ebcae082
class
DistributedOntology
<
Ontology
def
self.model
_name
Ontology.model
_name
end
def
to_partial_path
'ontology'
end
def
iri_for_child
(
child_name
)
child_name.include
?
(
"://"
)
?
child_name
:
"#{iri}?#{child_name}"
end
end