Sha256: bf2c9b2a68fc3d4e7ea605566e321f703870ef18492dd5646652d12fcce4d1e6
Contents?: true
Size: 456 Bytes
Versions: 24
Compression:
Stored size: 456 Bytes
Contents
require "relaton_iso_bib/version" require "relaton_iso_bib/iso_bibliographic_item" require "digest/md5" module RelatonIsoBib 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 grammars end end
Version data entries
24 entries across 24 versions & 2 rubygems