module ADIWG::Mdtranslator::Writers::MdJson::GraphicOverview
Public Class Methods
build(hGraphic)
click to toggle source
# File lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_graphicOverview.rb, line 20 def self.build(hGraphic) Jbuilder.new do |json| json.fileName hGraphic[:graphicName] json.fileDescription hGraphic[:graphicDescription] json.fileType hGraphic[:graphicType] json.fileConstraint @Namespace.json_map(hGraphic[:graphicConstraints], Constraint) json.fileUri @Namespace.json_map(hGraphic[:graphicURI], OnlineResource) end end