Sha256: 99bac156595e345d2dc146148a06358dc4491d2d2246499d0f155cd5f433a304
Contents?: true
Size: 610 Bytes
Versions: 6
Compression:
Stored size: 610 Bytes
Contents
require 'jbuilder' require_relative 'mdJson_scope' module ADIWG module Mdtranslator module Writers module MdJson module DescriptiveResult def self.build(hResult) Jbuilder.new do |json| json.dateTime hResult[:dateTime] unless hResult[:dateTime].nil? json.scope Scope.build(hResult[:scope]) unless hResult[:scope].empty? json.name hResult[:name] unless hResult[:name].nil? json.statement hResult[:statement] unless hResult[:statement].nil? end end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems