Sha256: 1222ab5e1a930da2ea6a4aa277ad474dd856ca308bbaf6ba5730e09a28e2af89
Contents?: true
Size: 649 Bytes
Versions: 22
Compression:
Stored size: 649 Bytes
Contents
require "relaton_bib" require "relaton_w3c/version" require "relaton_w3c/w3c_bibliography" require "relaton_w3c/w3c_bibliographic_item" require "relaton_w3c/hit_collection" require "relaton_w3c/hit" require "relaton_w3c/scrapper" require "relaton_w3c/xml_parser" require "relaton_w3c/hash_converter" module RelatonW3c 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
22 entries across 22 versions & 2 rubygems