Sha256: 1df5a8c1850a372ee9136c2f6fb1047e5bd989deb3e90d0188ee2afc556de7d4
Contents?: true
Size: 699 Bytes
Versions: 2
Compression:
Stored size: 699 Bytes
Contents
require "nokogiri" require "open-uri" # require "parslet" require "relaton/index" require "relaton_bib" # require "relaton_bib/name_parser" require "relaton_cie/version" require "relaton_cie/bibliographic_item" require "relaton_cie/cie_bibliography" require "relaton_cie/scrapper" require "relaton_cie/data_fetcher" require "relaton_cie/xml_parser" require "relaton_cie/hash_converter" module RelatonCie # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
relaton-cie-1.16.0 | lib/relaton_cie.rb |
relaton-cie-1.14.1 | lib/relaton_cie.rb |