Module: RelatonIetf
- Defined in:
- lib/relaton_ietf.rb,
lib/relaton_ietf/util.rb,
lib/relaton_ietf/version.rb,
lib/relaton_ietf/scrapper.rb,
lib/relaton_ietf/committee.rb,
lib/relaton_ietf/processor.rb,
lib/relaton_ietf/rfc_entry.rb,
lib/relaton_ietf/xml_parser.rb,
lib/relaton_ietf/data_fetcher.rb,
lib/relaton_ietf/bibxml_parser.rb,
lib/relaton_ietf/document_type.rb,
lib/relaton_ietf/hash_converter.rb,
lib/relaton_ietf/renderer/bibxml.rb,
lib/relaton_ietf/rfc_index_entry.rb,
lib/relaton_ietf/ietf_bibliography.rb,
lib/relaton_ietf/ietf_bibliographic_item.rb
Defined Under Namespace
Modules: BibXMLParser, HashConverter, IetfBibliography, Renderer, Scrapper, Util Classes: Committee, DataFetcher, DocumentType, IetfBibliographicItem, Processor, RfcEntry, RfcIndexEntry, XMLParser
Constant Summary collapse
- VERSION =
"1.20.0".freeze
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
20 21 22 23 24 25 |
# File 'lib/relaton_ietf.rb', line 20 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 RelatonIetf::VERSION + RelatonBib::VERSION # grammars end |