Sha256: fd9755122c1a960be99e7856d1e01468c6e96bfd6d1c1286b07fb97f4afa2402
Contents?: true
Size: 249 Bytes
Versions: 2
Compression:
Stored size: 249 Bytes
Contents
module Docxtor2 shared_context 'xmlbuilder' do include WordprocessingMLMatchers def render(klass, *args, &block) builder = Builder::XmlMarkup.new klass.new(*args, &block).render(builder) builder.target! end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
docxtor2-0.0.9 | spec/docxtor2/support/contexts/xml_builder_context.rb |
docxtor2-0.1.0 | spec/docxtor2/support/contexts/xml_builder_context.rb |