Cross Reference: oops.rb
xref
: /
ontohub
/
app
/
models
/
ontology
/
oops.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bd
Ingo Becker
module
Ontology
::
Oops
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bd
Ingo Becker
extend
ActiveSupport
::
Concern
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
24c3603618f013746647e70b799c1d6f19ef59a5
henning mueller
OOPS_FORMATS
= %w
(
OWL
OWL2
RDF
)
ee5342a8882c2fc7631fcffb5497e6597747887c
Tim Reddehase
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bd
Ingo Becker
def
oops_supported
?
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bd
Ingo Becker
is_a
?
(
SingleOntology
)
&&
logic
&&
OOPS_FORMATS.include
?
(
logic.name
)
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bd
Ingo Becker
end
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bd
Ingo Becker
77ccd99c84e9f4689ffa28fc7f0870ab5d4803bd
Ingo Becker
end