Module: Relaton::Ieee
- Defined in:
- lib/relaton/ieee.rb,
lib/relaton/ieee/ext.rb,
lib/relaton/ieee/item.rb,
lib/relaton/ieee/util.rb,
lib/relaton/ieee/pub_id.rb,
lib/relaton/ieee/bibdata.rb,
lib/relaton/ieee/bibitem.rb,
lib/relaton/ieee/doctype.rb,
lib/relaton/ieee/version.rb,
lib/relaton/ieee/item_data.rb,
lib/relaton/ieee/processor.rb,
lib/relaton/ieee/bibliography.rb,
lib/relaton/ieee/data_fetcher.rb,
lib/relaton/ieee/idams_parser.rb,
lib/relaton/ieee/balloting_group.rb,
lib/relaton/ieee/editorial_group.rb,
lib/relaton/ieee/converter/bibxml.rb,
lib/relaton/ieee/rawbib_id_parser.rb,
lib/relaton/ieee/converter/bibxml/from_rfcxml.rb,
lib/relaton/ieee/converter/bibxml/from_rfcxml_referencegroup.rb
Defined Under Namespace
Modules: Converter, RawbibIdParser, Util Classes: BallotingGroup, Bibdata, Bibitem, Bibliography, DataFetcher, Doctype, EditorialGroup, Error, Ext, IdamsParser, Item, ItemData, Processor, PubId
Constant Summary collapse
- INDEXFILE =
"index-v1".freeze
- VERSION =
"2.1.1".freeze
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
22 23 24 25 26 27 |
# File 'lib/relaton/ieee.rb', line 22 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 Relaton::Ieee::VERSION + Relaton::Bib::VERSION # grammars end |