Module: Relaton3gpp
- Defined in:
- lib/relaton_3gpp.rb,
lib/relaton_3gpp/util.rb,
lib/relaton_3gpp/parser.rb,
lib/relaton_3gpp/release.rb,
lib/relaton_3gpp/version.rb,
lib/relaton_3gpp/processor.rb,
lib/relaton_3gpp/xml_parser.rb,
lib/relaton_3gpp/bibliography.rb,
lib/relaton_3gpp/data_fetcher.rb,
lib/relaton_3gpp/document_type.rb,
lib/relaton_3gpp/hash_converter.rb,
lib/relaton_3gpp/bibliographic_item.rb
Defined Under Namespace
Modules: Bibliography, HashConverter, Util Classes: BibliographicItem, DataFetcher, DocumentType, Error, Parser, Processor, Release, XMLParser
Constant Summary collapse
- VERSION =
"1.19.2"
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
22 23 24 25 26 27 |
# File 'lib/relaton_3gpp.rb', line 22 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 Relaton3gpp::VERSION + RelatonBib::VERSION # grammars end |