Module: Relaton::Gb
- Defined in:
- lib/relaton/gb.rb,
lib/relaton/gb/ccs.rb,
lib/relaton/gb/ext.rb,
lib/relaton/gb/hit.rb,
lib/relaton/gb/item.rb,
lib/relaton/gb/util.rb,
lib/relaton/gb/bibdata.rb,
lib/relaton/gb/bibitem.rb,
lib/relaton/gb/doctype.rb,
lib/relaton/gb/gb_type.rb,
lib/relaton/gb/scraper.rb,
lib/relaton/gb/version.rb,
lib/relaton/gb/committee.rb,
lib/relaton/gb/item_data.rb,
lib/relaton/gb/processor.rb,
lib/relaton/gb/t_scraper.rb,
lib/relaton/gb/gb_scraper.rb,
lib/relaton/gb/stage_name.rb,
lib/relaton/gb/sec_scraper.rb,
lib/relaton/gb/bibliography.rb,
lib/relaton/gb/docidentifier.rb,
lib/relaton/gb/hit_collection.rb,
lib/relaton/gb/project_number.rb,
lib/relaton/gb/structured_identifier.rb
Defined Under Namespace
Modules: GbScraper, Scraper, SecScraper, TScraper, Util Classes: Bibdata, Bibitem, Bibliography, CCS, Committee, Docidentifier, Doctype, Ext, GbType, Hit, HitCollection, Item, ItemData, Processor, ProjectNumber, StageName, StructuredIdentifier
Constant Summary collapse
- VERSION =
"2.1.0".freeze
Class Method Summary collapse
-
.grammar_hash ⇒ String
Returns hash of XML reammar.
Class Method Details
.grammar_hash ⇒ String
Returns hash of XML reammar
26 27 28 29 30 31 |
# File 'lib/relaton/gb.rb', line 26 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::Gb::VERSION + Relaton::Iso::VERSION + Relaton::Bib::VERSION # grammars end |