Module: ADIWG::Mdtranslator::Writers::MdJson::Scope
- Defined in:
- lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_scope.rb
Class Method Summary collapse
Class Method Details
.build(hScope) ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_scope.rb', line 20 def self.build(hScope) Jbuilder.new do |json| json.scopeCode hScope[:scopeCode] json.scopeDescription @Namespace.json_map(hScope[:scopeDescriptions], ScopeDescription) json.scopeExtent @Namespace.json_map(hScope[:extents], Extent) end end |