module ADIWG::Mdtranslator::Writers::MdJson::Grid
Public Class Methods
build(hGrid)
click to toggle source
# File lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_gridRepresentation.rb, line 17 def self.build(hGrid) @Namespace = ADIWG::Mdtranslator::Writers::MdJson Jbuilder.new do |json| json.numberOfDimensions hGrid[:numberOfDimensions] json.dimension @Namespace.json_map(hGrid[:dimension], Dimension) json.cellGeometry hGrid[:cellGeometry] json.transformationParameterAvailable hGrid[:transformationParameterAvailable] end end