Module: Relaton::Xsf
- Defined in:
- lib/relaton/xsf.rb,
lib/relaton/xsf/hit.rb,
lib/relaton/xsf/item.rb,
lib/relaton/xsf/util.rb,
lib/relaton/xsf/bibdata.rb,
lib/relaton/xsf/bibitem.rb,
lib/relaton/xsf/version.rb,
lib/relaton/xsf/item_data.rb,
lib/relaton/xsf/processor.rb,
lib/relaton/xsf/bibliography.rb,
lib/relaton/xsf/data_fetcher.rb,
lib/relaton/xsf/hit_collection.rb
Defined Under Namespace
Modules: Bibliography, Util Classes: Bibdata, Bibitem, DataFetcher, Error, Hit, HitCollection, Item, ItemData, Processor
Constant Summary collapse
- INDEXFILE =
"index-v1"- VERSION =
"2.1.0"
Class Method Summary collapse
-
.grammar_hash ⇒ Object
Your code goes here…
Class Method Details
.grammar_hash ⇒ Object
Your code goes here…
23 24 25 26 27 28 |
# File 'lib/relaton/xsf.rb', line 23 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::Bib::VERSION # grammars end |