Module: RelatonOasis
- Defined in:
- lib/relaton_oasis.rb,
lib/relaton_oasis/util.rb,
lib/relaton_oasis/index.rb,
lib/relaton_oasis/version.rb,
lib/relaton_oasis/processor.rb,
lib/relaton_oasis/xml_parser.rb,
lib/relaton_oasis/data_parser.rb,
lib/relaton_oasis/data_fetcher.rb,
lib/relaton_oasis/document_type.rb,
lib/relaton_oasis/hash_converter.rb,
lib/relaton_oasis/data_part_parser.rb,
lib/relaton_oasis/data_parser_utils.rb,
lib/relaton_oasis/oasis_bibliography.rb,
lib/relaton_oasis/oasis_bibliographic_item.rb
Defined Under Namespace
Modules: DataParserUtils, HashConverter, Util Classes: DataFetcher, DataParser, DataPartParser, DocumentType, Error, Index, OasisBibliographicItem, OasisBibliography, Processor, XMLParser
Constant Summary collapse
- VERSION =
"1.19.0"
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
25 26 27 28 29 30 |
# File 'lib/relaton_oasis.rb', line 25 def self.grammar_hash # gem_path = File.expand_path "..", __dir__ # grammars_path = File.join gem_path, "grammars", "*" # grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join Digest::MD5.hexdigest RelatonOasis::VERSION + RelatonBib::VERSION # grammars end |