Sha256: 54bf2e28b981e45c796677ae44bd27c3d5ca324b988029cf2a8de18fa57784e4

Contents?: true

Size: 272 Bytes

Versions: 3

Compression:

Stored size: 272 Bytes

Contents

module RelatonW3c
  class HashConverter < RelatonBib::HashConverter
    class << self
      # @param item_hash [Hash]
      # @return [RelatonW3c::W3cBibliographicItem]
      def bib_item(item_hash)
        W3cBibliographicItem.new **item_hash
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
relaton-w3c-1.8.0 lib/relaton_w3c/hash_converter.rb
relaton-w3c-1.7.2 lib/relaton_w3c/hash_converter.rb
relaton-w3c-1.7.1 lib/relaton_w3c/hash_converter.rb