Sha256: e8e461d09c42150d0bff448ce4d3c3e0b1ee2adaddc630bda23bbddefe27e788
Contents?: true
Size: 684 Bytes
Versions: 6
Compression:
Stored size: 684 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" require "relaton_w3c/data_fethcer" 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
6 entries across 6 versions & 1 rubygems