Sha256: 670e615895be963b3a9c1fd973053b99421d4b625697071e04af44a156097d94

Contents?: true

Size: 599 Bytes

Versions: 1

Compression:

Stored size: 599 Bytes

Contents

module RelatonItu
  class HashConverter < RelatonIsoBib::HashConverter
    class << self
      # @override RelatonBib::HashConverter.hash_to_bib
      # @param args [Hash]
      # @param nested [TrueClass, FalseClass]
      # @return [Hash]
      # def hash_to_bib(args, nested = false)
      #   ret = super
      #   return if ret.nil?

      #   doctype_hash_to_bib(ret)
      #   ret
      # end

      private

      def editorialgroup_hash_to_bib(ret)
        eg = ret[:editorialgroup]
        return unless eg

        ret[:editorialgroup] = EditorialGroup.new eg
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
relaton-itu-0.3.1 lib/relaton_itu/hash_converter.rb