Cross Reference: file_extensions.rb
xref
: /
ontohub
/
app
/
models
/
ontology
/
file_extensions.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
file_extensions.rb revision c0bbc27da1162163fbeed3a93c4dd47043eb8676
module
Ontology
::
FileExtensions
extend
ActiveSupport
::
Concern
included
do
FILE_EXTENSIONS_DISTRIBUTED
= %w[
casl
dol
hascasl
het
]
FILE_EXTENSIONS
=
FILE_EXTENSIONS_DISTRIBUTED
+ %w[
owl
obo
hs
exp
maude
elf
hol
isa
thy
prf
omdoc
hpf
clf
clif
xml
fcstd
rdf
xmi
qvt
tptp
gen_trm
baf
]
FILE_EXTENSIONS_DISTRIBUTED.map
!
{ |e|
".#{e}"
}
FILE_EXTENSIONS.map
!
{ |e|
".#{e}"
unless
e.starts
_with
?
'.'
}
end
end