Sha256: 52420fb3863891439b1a1320154ae435fcf1f7c00dae26a908f9f33a7c61f95c
Contents?: true
Size: 723 Bytes
Versions: 4
Compression:
Stored size: 723 Bytes
Contents
require "digest/md5" require "yaml" require "relaton_bib" require "relaton/index" require "relaton_iho/version" require "relaton_iho/iho_bibliography" require "relaton_iho/hash_converter" require "relaton_iho/xml_parser" require "relaton_iho/editorial_group" require "relaton_iho/iho_group" require "relaton_iho/comment_periond" require "relaton_iho/iho_bibliographic_item" module RelatonIho 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
relaton-iho-1.16.0 | lib/relaton_iho.rb |
relaton-iho-1.14.3 | lib/relaton_iho.rb |
relaton-iho-1.14.2 | lib/relaton_iho.rb |
relaton-iho-1.14.1 | lib/relaton_iho.rb |