Sha256: 3a942a00923c9f79f03f9fb58ef78b4a8a41df37b78c8198fb213d21c3f2c815
Contents?: true
Size: 635 Bytes
Versions: 13
Compression:
Stored size: 635 Bytes
Contents
require 'jbuilder' require_relative 'mdJson_identifier' module ADIWG module Mdtranslator module Writers module MdJson module QualityMeasure def self.build(hQualityMeasure) Jbuilder.new do |json| json.identifier Identifier.build(hQualityMeasure[:identifier]) unless hQualityMeasure[:identifier].empty? json.name hQualityMeasure[:nameOfMeasure] unless hQualityMeasure[:nameOfMeasure].empty? json.description hQualityMeasure[:description] unless hQualityMeasure[:description].nil? end end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems