Sha256: a64fae36abd012290d252d7fbfe217711d11ca4a5f95d64995ca70f40b16041c
Contents?: true
Size: 659 Bytes
Versions: 12
Compression:
Stored size: 659 Bytes
Contents
require "relaton_bib" require "relaton_w3c/version" require "relaton_w3c/w3c_bibliography" require "relaton_w3c/w3c_bibliographic_item" require "relaton_w3c/xml_parser" require "relaton_w3c/bibxml_parser" require "relaton_w3c/hash_converter" require "relaton_w3c/data_fetcher" require "relaton_w3c/data_index" 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
12 entries across 12 versions & 1 rubygems