Module: RelatonIsoBib
- Extended by:
- Config
- Defined in:
- lib/relaton_iso_bib.rb,
lib/relaton_iso_bib/ics.rb,
lib/relaton_iso_bib/util.rb,
lib/relaton_iso_bib/config.rb,
lib/relaton_iso_bib/version.rb,
lib/relaton_iso_bib/xml_parser.rb,
lib/relaton_iso_bib/document_type.rb,
lib/relaton_iso_bib/hash_converter.rb,
lib/relaton_iso_bib/editorial_group.rb,
lib/relaton_iso_bib/iso_document_relation.rb,
lib/relaton_iso_bib/structured_identifier.rb,
lib/relaton_iso_bib/iso_bibliographic_item.rb
Defined Under Namespace
Modules: Config, HashConverter, Util Classes: Configuration, DocumentType, EditorialGroup, Error, Ics, IsoBibliographicItem, IsoDocumentRelation, StructuredIdentifier, XMLParser
Constant Summary collapse
- VERSION =
"1.18.2".freeze
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
16 17 18 19 20 21 |
# File 'lib/relaton_iso_bib.rb', line 16 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, encoding: "UTF-8" }.join Digest::MD5.hexdigest RelatonIsoBib::VERSION + RelatonBib::VERSION # grammars end |