Sha256: 51cfb8a509363fb69d7c930aafa27e17ec7763e5788b6ebd37d62334575113f2
Contents?: true
Size: 526 Bytes
Versions: 41
Compression:
Stored size: 526 Bytes
Contents
module HealthDataStandards module Export module Hdata class Metadata def initialize template_helper = TemplateHelper.new('hdata') @rendering_context = RenderingContext.new @rendering_context.template_helper = template_helper end def export(entry, metadata, include_namespace=false) @rendering_context.render(:template => 'metadata', :locals => {entry: entry, metadata: metadata, namespace: include_namespace}) end end end end end
Version data entries
41 entries across 41 versions & 1 rubygems
Version | Path |
---|---|
health-data-standards-3.2.0 | lib/health-data-standards/export/hdata/metadata.rb |