Sha256: 5c1c2ff620d88bd1199451a5eb6c5ffea04e37efde48130055b4c015412df86e
Contents?: true
Size: 897 Bytes
Versions: 15
Compression:
Stored size: 897 Bytes
Contents
require 'jbuilder' module ADIWG module Mdtranslator module Writers module MdJson module GridInfo def self.build(intObj) Jbuilder.new do |json| json.numberOfDimensions intObj[:dimensions] json.dimension(intObj[:dimensionInfo]) do |dim| json.dimensionType dim[:dimensionType] json.dimensionSize dim[:dimensionSize] json.resolution dim[:resolution] json.resolutionUnit dim[:resolutionUnits] json.dimensionTitle dim[:dimensionTitle] json.dimensionDescription dim[:dimensionDescription] end json.cellGeometry intObj[:dimensionGeometry] json.transformationParameterAvailability intObj[:dimensionTransformParams] end end end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems