Sha256: 863a68808437845b590a04e5a5c354210f7f2eda4fe4a8919b523543fa853e78
Contents?: true
Size: 544 Bytes
Versions: 7
Compression:
Stored size: 544 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.statement hResult[:statement] unless hResult[:statement].nil? end end end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems