Sha256: 6f4b0dccb45b6e07b10e07c1611127bdb87beb6cbb35900cdfc7e41a3f9337e8
Contents?: true
Size: 608 Bytes
Versions: 15
Compression:
Stored size: 608 Bytes
Contents
require "relaton_iso_bib" require "relaton_iec/hit" require "nokogiri" require "net/http" require "relaton_iec/version" require "relaton_iec/iec_bibliography" require "relaton_iec/iec_bibliographic_item" require "relaton_iec/xml_parser" require "relaton_iec/hash_converter" require "digest/md5" module RelatonIec # 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 grammars end end
Version data entries
15 entries across 15 versions & 2 rubygems