Sha256: df677a44f00ddef4d30ef19ba3a624f6f00b3419316805f72a3346478d170031
Contents?: true
Size: 607 Bytes
Versions: 1
Compression:
Stored size: 607 Bytes
Contents
require "nokogiri" require "open-uri" require "yaml" require "relaton_bib" require "relaton_ecma/version" require "relaton_ecma/bibliographic_item" require "relaton_ecma/xml_parser" require "relaton_ecma/hash_converter" require "relaton_ecma/scrapper" require "relaton_ecma/ecma_bibliography" module RelatonEcma # 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
relaton-ecma-1.14.0 | lib/relaton_ecma.rb |