Sha256: 00524898f23fd73cc93539f730a9756e35d7daa02aec2cff0a7e39de7ce9434e
Contents?: true
Size: 720 Bytes
Versions: 3
Compression:
Stored size: 720 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/bibxml_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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
relaton-w3c-1.11.0 | lib/relaton_w3c.rb |
relaton-w3c-1.10.1 | lib/relaton_w3c.rb |
relaton-w3c-1.10.0 | lib/relaton_w3c.rb |