Module: Chem::Type::CdxType
- Defined in:
- lib/chem/db/types/type_cdx.rb
Class Method Summary collapse
Class Method Details
.detect_file(file) ⇒ Object
7 8 9 |
# File 'lib/chem/db/types/type_cdx.rb', line 7 def self.detect_file file File.extname(file) == '.cdx' end |
.detect_type(type) ⇒ Object
17 18 19 |
# File 'lib/chem/db/types/type_cdx.rb', line 17 def self.detect_type type type == :cdx end |