Sha256: 738f693370791749468dbe33599ce83189ad2d1c3fb260dfbff1ed9994234c48
Contents?: true
Size: 602 Bytes
Versions: 2
Compression:
Stored size: 602 Bytes
Contents
# frozen_string_literal: true require "relaton_ietf/version" require "relaton_ietf/ietf_bibliography" require "relaton_ietf/ietf_bibliographic_item" require "relaton_ietf/xml_parser" require "relaton_ietf/hash_converter" require "relaton_ietf/committee" require "relaton/provider_ietf" module RelatonIetf # 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-ietf-1.9.2 | lib/relaton_ietf.rb |
relaton-ietf-1.9.1 | lib/relaton_ietf.rb |