Sha256: b3e772bda280a23e65e69cdb6fea3be2937d28441138019f42d4aa1f668b68ea
Contents?: true
Size: 687 Bytes
Versions: 28
Compression:
Stored size: 687 Bytes
Contents
# mdJson 2.0 writer - algorithm # History: # Stan Smith 2019-09-24 original script require 'jbuilder' require_relative 'mdJson_citation' module ADIWG module Mdtranslator module Writers module MdJson module Algorithm @Namespace = ADIWG::Mdtranslator::Writers::MdJson def self.build(hAlgorithm) Jbuilder.new do |json| json.citation Citation.build(hAlgorithm[:citation]) unless hAlgorithm[:citation].empty? json.description hAlgorithm[:description] end end # build end # Algorithm end end end end
Version data entries
28 entries across 28 versions & 1 rubygems