Sha256: 477f7979176c739b88d8ad46365361fad091e9f2877a1245a346c6709c6cc9e2
Contents?: true
Size: 518 Bytes
Versions: 3
Compression:
Stored size: 518 Bytes
Contents
require "relaton_iec/version" require "relaton_iec/iec_bibliography" require "relaton_iec/iec_bibliographic_item" require "relaton_iec/xml_parser" require "relaton_iec/hash_converter" require "digest/md5" module RelatonIec # 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-iec-1.1.0 | lib/relaton_iec.rb |
relaton-iec-1.0.1 | lib/relaton_iec.rb |
relaton-iec-1.0.0 | lib/relaton_iec.rb |