Sha256: 2a2b5f195c9ef441911fa1c101a4ac49778be06de662cb176447df288ad6d6d4
Contents?: true
Size: 811 Bytes
Versions: 1
Compression:
Stored size: 811 Bytes
Contents
require "singleton" require "relaton/index" require "relaton_bib" require "relaton_nist/version" require "relaton_nist/config" require "relaton_nist/util" require "relaton_nist/nist_bibliography" require "relaton_nist/data_fetcher" require "relaton_nist/pubs_export" # if defined? Relaton # require_relative "relaton/processor" # Relaton::Registry.instance.register(Relaton::RelatonNist::Processor) # end module RelatonNist 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 RelatonNist::VERSION + RelatonBib::VERSION # grammars end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
relaton-nist-1.16.2 | lib/relaton_nist.rb |