ontology.rb revision 725d1f9b70a60c140e264a476060022ecc384e5a
# Ontohub Library Includes
# Ontology Model Includes
# Multiple Class Features
:logic_id,
:acronym,
:projects,
:present,
allow_blank: true,
delegate :permission?, to: :repository
strip_attributes :only => [:name, :iri]
end
end
# title for links
end
end
end
"#{basepath}#{file_extension}"
end
child_name = child_name[1..-2] if child_name[0] == '<'
end
def is?(logic_name)
end
\A
< # angle brackets denote a custom IRI
.+
(?:/|\#)
> # end of IRI
\z
}x)
if match
else
end
end
if ontology.nil?
end
end
where "ontologies.basepath = :basepath AND ontologies.file_extension = :file_extension AND ontologies.parent_id IS NULL",
end
end