Module: Relaton3gpp
- Defined in:
- lib/relaton_3gpp.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/hash_converter.rb,
lib/relaton_3gpp/bibliographic_item.rb
Defined Under Namespace
Modules: Bibliography Classes: BibliographicItem, DataFetcher, Error, HashConverter, Parser, Processor, Release, XMLParser
Constant Summary collapse
- VERSION =
"1.14.2"
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
19 20 21 22 23 24 |
# File 'lib/relaton_3gpp.rb', line 19 def self.grammar_hash gem_path = File. "..", __dir__ grammars_path = File.join gem_path, "grammars", "*" grammars = Dir[grammars_path].sort.map { |gp| File.read gp }.join Digest::MD5.hexdigest grammars end |