Module: RelatonGb::HashConverter
- Extended by:
- HashConverter
- Includes:
- RelatonIsoBib::HashConverter
- Included in:
- HashConverter
- Defined in:
- lib/relaton_gb/hash_converter.rb
Instance Method Summary collapse
Instance Method Details
#hash_to_bib(args) ⇒ Hash
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/relaton_gb/hash_converter.rb', line 10 def hash_to_bib(args) ret = super return if ret.nil? ret[:committee] = ret[:ext][:committee] if ret.dig(:ext, :committee) ret[:plannumber] = ret[:ext][:plannumber] if ret.dig(:ext, :plannumber) ret[:gbtype] = ret[:ext][:gbtype] if ret.dig(:ext, :gbtype) ccs_hash_to_bib(ret) ret end |