Sha256: c0664d9c9ca2d3e148adbd290f1d2daa962010ee4749600078a65f6967a4fea6

Contents?: true

Size: 529 Bytes

Versions: 10

Compression:

Stored size: 529 Bytes

Contents

module RelatonItu
  class HashConverter < RelatonBib::HashConverter
    class << self
      private

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

        ret[:editorialgroup] = EditorialGroup.new eg
      end

      # @param ret [Hash]
      def structuredidentifier_hash_to_bib(ret)
        return unless ret[:structuredidentifier]

        ret[:structuredidentifier] = StructuredIdentifier.new(
          ret[:structuredidentifier]
        )
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
relaton-itu-1.7.3 lib/relaton_itu/hash_converter.rb
relaton-itu-1.7.2 lib/relaton_itu/hash_converter.rb
relaton-itu-1.7.1 lib/relaton_itu/hash_converter.rb
relaton-itu-1.7.0 lib/relaton_itu/hash_converter.rb
relaton-itu-1.6.0 lib/relaton_itu/hash_converter.rb
relaton-itu-1.6.pre1 lib/relaton_itu/hash_converter.rb
relaton-itu-1.5.0 lib/relaton_itu/hash_converter.rb
relaton-itu-1.5.pre lib/relaton_itu/hash_converter.rb
relaton-itu-1.4.0 lib/relaton_itu/hash_converter.rb
relaton-itu-1.3.0 lib/relaton_itu/hash_converter.rb