Sha256: 2e0ff904a9737fb3821185f0f4e0c7b02a208b1ec7830d134b5cfb76d9f5208e
Contents?: true
Size: 805 Bytes
Versions: 1
Compression:
Stored size: 805 Bytes
Contents
require "addressable" require "relaton_bib" require "relaton_un/version" require "relaton_un/util" require "relaton_un/document_type" require "relaton_un/un_bibliographic_item" require "relaton_un/un_bibliography" require "relaton_un/hit_collection" require "relaton_un/hit" require "relaton_un/hash_converter" require "relaton_un/xml_parser" require "relaton_un/session" require "relaton_un/editorialgroup" module RelatonUn class Error < StandardError; end # Returns hash of XML reammar # @return [String] 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 RelatonUn::VERSION + RelatonBib::VERSION # grammars end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
relaton-un-1.19.0 | lib/relaton_un.rb |